@Test
public void testConvertFSConfigurationClusterResourceInvalid()
    throws Exception {

  FSConfigToCSConfigConverterParams params = createDefaultParamsBuilder()
          .withClusterResource("vcores=20, memory-mb=240G")
          .build();
  expectedException.expect(ConversionException.class);
  expectedException.expectMessage("Error while parsing resource");
  converter.convert(params);
}