public static AwsCredentialsProvider deserializeAwsCredentialsProvider(
      String serializedCredentialsProvider) {
    return deserialize(serializedCredentialsProvider, AwsCredentialsProvider.class);
  }
@Test(expected = IllegalArgumentException.class)
  public void testFailOnAwsCredentialsProviderDeserialization() {
    AwsSerializableUtils.deserializeAwsCredentialsProvider("invalid string");
  }