public void AUT_CurrentDateTimeGenerator_Is_Instance_Present_Test() { // Assert _currentDateTimeGeneratorInstanceType.ShouldNotBeNull(); _currentDateTimeGeneratorInstance.ShouldNotBeNull(); _currentDateTimeGeneratorInstanceFixture.ShouldNotBeNull(); CurrentInstance.ShouldNotBeNull(); }
public void AUT_CurrentDateTimeGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange CurrentDateTimeGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }