Exemple #1
0
        public async Task Can_Get_Included_Fields_Async()
        {
            // Act
            var sut = await _landmarkRepository.AllIncludingAsync(x => x.LPCReport);

            // Assert
            Assert.IsType <List <Landmark> >(sut);

            var landmark  = sut.First();
            var lpcReport = landmark.LPCReport;

            Assert.NotNull(lpcReport);
            Assert.IsType <LpcReport>(lpcReport);
        }