public static TestGrainReference Create(EntityWithStringKey state) { return(Create <GrainWithStringKey>(state.Id)); }
public void ItReturnsFalseIfTheIdIsNull() { EntityWithStringKey entityWithStringKey = new EntityWithStringKey(); Assert.False(entityWithStringKey.AlreadyInDatabase()); }
public void Equals_() { var x = new EntityWithStringKey("x"); x.Equals(x).Should().BeTrue(); }