public void when_no_id_setter() { var user = new UserWithoutIdSetter(); theSession.Store(user); theSession.SaveChanges(); user.Id.ShouldBe(Guid.Empty); }
public void when_no_id_setter() { var issue = new UserWithoutIdSetter(); theSession.Store(issue); theSession.SaveChanges(); issue.Id.ShouldBe(Guid.Empty); }