@Test
public void readNovaCredentialsTest() {

  Confs confs = mock(Confs.class);
  when(confs.getProperty(NovaSetting.NOVA_ACCOUNT_ID_KEY.getParameter())).thenReturn(novaCredentials.getAccountName());
  when(confs.getProperty(NovaSetting.NOVA_ACCESSKEY_KEY.getParameter())).thenReturn(novaCredentials.getAccountPass());
  when(confs.getProperty(NovaSetting.NOVA_ACCOUNT_ENDPOINT.getParameter())).thenReturn(novaCredentials.getEndpoint());
  when(confs.getProperty(NovaSetting.NOVA_VERSION.getParameter())).thenReturn(novaCredentials.getEndpoint());
  when(confs.getProperty(NovaSetting.NOVA_REGION.getParameter())).thenReturn(novaCredentials.getRegion());
  NovaCredentials credentials = NovaLauncher.readCredentials(confs);
  assertNotNull(credentials);
}