public void IsTransient() { //Arrange IEntity entity; //Act entity = new FakeEntity(); // Assert Assert.IsTrue(entity.IsTransient()); }
public void IsNotTransient() { //Arrange IEntity entity; //Act entity = new FakeEntity { Identity = Guid.NewGuid() }; // Assert Assert.IsFalse(entity.IsTransient()); }