public void AUT_NoteEditor_Is_Instance_Present_Test() { // Assert _noteEditorInstanceType.ShouldNotBeNull(); _noteEditorInstance.ShouldNotBeNull(); _noteEditorInstanceFixture.ShouldNotBeNull(); _noteEditorInstance.ShouldBeAssignableTo <NoteEditor>(); _noteEditorInstanceFixture.ShouldBeAssignableTo <NoteEditor>(); }
public void AUT_Constructor_NoteEditor_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange NoteEditor instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); _noteEditorInstanceType.ShouldNotBeNull(); _noteEditorInstance.ShouldNotBeNull(); _noteEditorInstanceFixture.ShouldNotBeNull(); _noteEditorInstance.ShouldBeAssignableTo <NoteEditor>(); _noteEditorInstanceFixture.ShouldBeAssignableTo <NoteEditor>(); }