Function<String, String> function = new AppendApiVersionToAbiquoMimeType(AbiquoApi.API_VERSION);
assertEquals(function.apply("application/xml"), "application/xml");
}
public void testApplyToAbiquoMediaTypeWithVersion() {
Function<String, String> function = new AppendApiVersionToAbiquoMimeType(AbiquoApi.API_VERSION);
assertEquals(function.apply("application/vnd.abiquo.datacenters+xml;version=1.8.5"),
"application/vnd.abiquo.datacenters+xml;version=1.8.5");
}