public void ThenGetTenantShouldHaveTheTenantId(string detailsToInspect, string wellKnownGuidLabel) { Guid wellKnownGuid = this.WellKnownGuids[wellKnownGuidLabel]; string expectedId = TenantExtensions.EncodeGuid(wellKnownGuid); ITenant tenantToInspect = this.Tenants[detailsToInspect]; tenantToInspect.Id.Should().Be(expectedId); }
public void ThenTheTenantDetailsLabelledShouldHaveTenantIdThatIsTheConcatenatedHashesOfTheGuidsLabelledAnd( string detailsToInspect, string wellKnownGuidLabel1, string wellKnownGuidLabel2) { Guid wellKnownGuid1 = this.WellKnownGuids[wellKnownGuidLabel1]; Guid wellKnownGuid2 = this.WellKnownGuids[wellKnownGuidLabel2]; string expectedId = TenantExtensions.EncodeGuid(wellKnownGuid1) + TenantExtensions.EncodeGuid(wellKnownGuid2); ITenant tenantToInspect = this.Tenants[detailsToInspect]; tenantToInspect.Id.Should().Be(expectedId); }