public async Task Save_ViaInMemoryRepo()
        {
            var customer = new HomogeneousRole<CustomerRoleIdentifier>(_cId, "Joe Customer");
            var serviceRep = new HomogeneousRole<CustomerServiceRepresentativeRoleIdentifier>(_csrId, "Jane Rep");
            var agent = new HomogeneousRole<CustomerAgentRoleIdentifier>(_caId, "Jill Agent");

            IAggregateRepository<IHomogeneousRole<RoleIdentifier>, RoleIdentifier> repo
                = new InMemoryJsonAggregateRepository<IHomogeneousRole<RoleIdentifier>, RoleIdentifier>(
                    JsonSerializerBuilder.Build(
                        LogicalTypeRegistryBuilder.Build()));

            await SaveAndTest(repo, customer, serviceRep, agent);
        }
 public InMemoryJsonAggregateRepositoryTests()
 {
     Repo = new InMemoryJsonAggregateRepository<ServiceCase, ServiceCaseId>(
         JsonSerializerBuilder.Build(LogicalTypeRegistryBuilder.Build()));
 }