@Override
        public Map<String, String> getProperties() {
            throw new RuntimeException("Some exception...");
        }
Loads the given credentials file and checks that it contains the same
set of profiles as expected.
aws-java-sdk-core/src/test/java/com/amazonaws/auth/profile/ProfilesConfigFileWriterTest.java