Esempio n. 1
0
        public void ItShouldCreateTheService()
        {
            // Act
            SimpleClass1WithoutDependencies actual = GetService <SimpleClass1WithoutDependencies>();

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

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