@Test
public void runtimeInfoService()
throws Exception
{
RuntimeInfoService service =
JAXRSClientFactory.create( getBaseUrl() + "/" + getRestServicesPath() + "/archivaUiServices/",
RuntimeInfoService.class,
Collections.singletonList( new JacksonJaxbJsonProvider() ) );
ApplicationRuntimeInfo applicationRuntimeInfo = service.getApplicationRuntimeInfo( "en" );
assertEquals( System.getProperty( "expectedVersion" ), applicationRuntimeInfo.getVersion() );
assertFalse( applicationRuntimeInfo.isJavascriptLog() );
assertTrue( applicationRuntimeInfo.isLogMissingI18n() );