public void ConsecutiveDashesAreNotPermittedInContainerNames(BatchId jobId) { var containerName = ContainerNameUtils.GetSafeContainerName(jobId.ToString()); Assert.DoesNotContain("--", containerName); }
public void ContainerNamesMustBeFrom3Through63CharactersLong(BatchId jobId) { var containerName = ContainerNameUtils.GetSafeContainerName(jobId.ToString()); Assert.InRange(containerName.Length, 3, 63); }
public void ContainerNamesMustStartWithALetterOrNumber(BatchId jobId) { var containerName = ContainerNameUtils.GetSafeContainerName(jobId.ToString()); Assert.True(Char.IsLetterOrDigit(containerName[0])); }