public void CanGetARoleEntity() { var role = EntityHelpers.CreateRole(); DatabaseContext.Add(role); DatabaseContext.SaveChanges(); var result = DatabaseContext.Roles.FirstOrDefault(x => x.Id == role.Id); result.Should().BeEquivalentTo(role); }