public void Integer_based_entity_should_not_be_equal_to_null_entity() { var entity = new Person(1); Assert.That(entity, Is.Not.EqualTo(null)); }