Exemplo n.º 1
0
        public void ShouldNotBeCreated_When_Entity_Null_Fails_Assertion()
        {
            // Arrange
            ICreatable entity = null;

            // Act & Assert
            Should.Throw <ShouldAssertException>(() => entity.ShouldNotBeCreated());
        }