Ejemplo n.º 1
0
 public void AUT_AddFragment_Is_Instance_Present_Test()
 {
     // Assert
     _addFragmentInstanceType.ShouldNotBeNull();
     _addFragmentInstance.ShouldNotBeNull();
     _addFragmentInstanceFixture.ShouldNotBeNull();
     _addFragmentInstance.ShouldBeAssignableTo <AddFragment>();
     _addFragmentInstanceFixture.ShouldBeAssignableTo <AddFragment>();
 }
Ejemplo n.º 2
0
        public void AUT_Constructor_AddFragment_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            AddFragment instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
            _addFragmentInstanceType.ShouldNotBeNull();
            _addFragmentInstance.ShouldNotBeNull();
            _addFragmentInstanceFixture.ShouldNotBeNull();
            _addFragmentInstance.ShouldBeAssignableTo <AddFragment>();
            _addFragmentInstanceFixture.ShouldBeAssignableTo <AddFragment>();
        }