         let description = "Get models, filtered by target language."
         let expectation = self.expectation(description: description)
 
-        languageTranslator.getModels(targetLanguage: "pt", failure: failWithError) { models in
-            XCTAssertGreaterThan(models.count, 0, "Expected at least 1 model to be returned.")
+        languageTranslator.listModels(target: "pt", failure: failWithError) { models in
+            XCTAssertGreaterThan(models.models.count, 0, "Expected at least 1 model to be returned.")
             expectation.fulfill()
         }
         waitForExpectations()

        let description = "Get models, filtered to include only default models."
        let expectation = self.expectation(description: description)

        languageTranslator.getModels(defaultModelsOnly: true, failure: failWithError) { models in
            XCTAssertGreaterThan(models.count, 0, "Expected at least 1 model to be returned.")
            expectation.fulfill()
        }
        waitForExpectations()

        let description = "Get models, filtered by source language."
        let expectation = self.expectation(description: description)

        languageTranslator.listModels(source: "es", failure: failWithError) { models in
            XCTAssertGreaterThan(models.models.count, 0, "Expected at least 1 model to be returned.")
            expectation.fulfill()
        }
        waitForExpectations()
