public void Execute()
{
var test = new SqlServerEventStoreSessionTests();
using (var session = test.OpenSession(test.CreateStore()))
{
var otherUser = User.Register(session, "[email protected]", "password", Guid.NewGuid());
otherUser.ChangeEmail("[email protected]");
session.SaveChanges();
}
}
}