Exemple #1
0
        public void ItShouldCreateTheService()
        {
            // Act
            SimpleClass1WithoutDependencies actual = GetService <SimpleClass1WithoutDependencies>();

            // Assert
            actual.Should().NotBeNull();
        }
Exemple #2
0
        public void ItShouldCreateTheServiceUsingTheGivenFactory()
        {
            // Act
            SimpleClass1WithoutDependencies actual = GetService <SimpleClass1WithoutDependencies>();

            // Assert
            actual
            .Should()
            .NotBeNull()
            .And.BeSameAs(Expected);
        }