public void HasId_IsNew_False() { var hasId = new HasId() { Id = 100500 }; Assert.False(hasId.IsNew()); }
public void HasId_IsNew_True() { var hasId = new HasId(); Assert.True(hasId.IsNew()); }