コード例 #1
0
 public void AUT_ByteSequenceGenerator_Is_Instance_Present_Test()
 {
     // Assert
     _byteSequenceGeneratorInstanceType.ShouldNotBeNull();
     _byteSequenceGeneratorInstance.ShouldNotBeNull();
     _byteSequenceGeneratorInstanceFixture.ShouldNotBeNull();
     CurrentInstance.ShouldNotBeNull();
 }
コード例 #2
0
        public void AUT_ByteSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            ByteSequenceGenerator instance = null;

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

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
        }