Created
October 8, 2009 19:48
-
-
Save jcbozonier/205304 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var attageTableProperties = new TableProperties( | |
| "name", | |
| "description", | |
| Indices.AttainedAge, | |
| DataType.Real, | |
| "comments", | |
| 4, | |
| 4, | |
| "group heading", | |
| "ult table name", | |
| 25, | |
| new double[0], | |
| new double[0]); | |
| var attageTable = MockRepository.GenerateMock<ITableItem>(); | |
| attageTable.Expect(x => x.Properties).Return(attageTableProperties); | |
| attageTable.Expect(x => x.LayerCount).Return(1); | |
| var otherIndexProperties = new TableProperties( | |
| "name", | |
| "description", | |
| Indices.SelectMortality, | |
| DataType.Real, | |
| "comments", | |
| 4, | |
| 4, | |
| "group heading", | |
| "ult table name", | |
| 25, | |
| new double[0], | |
| new double[0]); | |
| var otherIndexTable = MockRepository.GenerateMock<ITableItem>(); | |
| otherIndexTable.Expect(x => x.Properties).Return(otherIndexProperties); | |
| otherIndexTable.Expect(x => x.LayerCount).Return(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment