@Test void newBucketNameShouldThrowWhenNullValue() { assertThatThrownBy(() -> BucketName.of(null)) .isInstanceOf(NullPointerException.class); }
public static BucketName of(String value) { return new BucketName(value); }
BucketName { public static BucketName of(String value) { return new BucketName(value); } }
BucketName { public static BucketName of(String value) { return new BucketName(value); } private  BucketName(String value); }
BucketName { public static BucketName of(String value) { return new BucketName(value); } private  BucketName(String value); static BucketName of(String value); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
BucketName { public static BucketName of(String value) { return new BucketName(value); } private  BucketName(String value); static BucketName of(String value); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); static final BucketName DEFAULT; }