Example #1
0
        public async Task Then_The_Standard_Is_Returned_By_LarsCode()
        {
            //Act
            var standards = await _standardRepository.GetLatestActiveStandard(ExpectedLarsCode);

            //Assert
            Assert.IsNotNull(standards);
            standards.Should().BeEquivalentTo(_standards.SingleOrDefault(c => c.StandardUId.Equals(ExpectedStandardUId)));
        }