public void AUT_NoConstructorsSpecification_Is_Instance_Present_Test() { // Assert _noConstructorsSpecificationInstanceType.ShouldNotBeNull(); _noConstructorsSpecificationInstance.ShouldNotBeNull(); _noConstructorsSpecificationInstanceFixture.ShouldNotBeNull(); CurrentInstance.ShouldNotBeNull(); }
public void AUT_NoConstructorsSpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange NoConstructorsSpecification instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }