@Override
    public Set<String> getClasses() {
        return new LinkedHashSet<>(new HostPreferences(session.getHost()).getList("s3.storage.class.options"));
    }
@Test
    public void testGetClasses() {
        assertArrayEquals(Collections.singletonList(S3Object.STORAGE_CLASS_STANDARD).toArray(),
                new S3StorageClassFeature(new S3Session(new Host(new S3Protocol())), new S3AccessControlListFeature(session)).getClasses().toArray());
        assertArrayEquals(Arrays.asList(S3Object.STORAGE_CLASS_STANDARD, "INTELLIGENT_TIERING",
                        S3Object.STORAGE_CLASS_INFREQUENT_ACCESS, "ONEZONE_IA", S3Object.STORAGE_CLASS_REDUCED_REDUNDANCY, S3Object.STORAGE_CLASS_GLACIER, "GLACIER_IR", "DEEP_ARCHIVE").toArray(),
                new S3StorageClassFeature(session, new S3AccessControlListFeature(session)).getClasses().toArray());
    }