@Test
public void testGetNamespace() throws IOException, TokenExpiredException {

    try(ArgusService argusService = new ArgusService(getMockedClient("/NamespaceServiceTest.json"))) {
        NamespaceService namespaceService = argusService.getNamespaceService();
        List<Namespace> result = namespaceService.getNamespaces();
        List<Namespace> expected = Arrays.asList(new Namespace[] { _constructPersistedNamespace() });
        assertEquals(expected, result);
    }
}