 
     // MARK: - Test Configuration
 
-    /** Set up for each test by loading text files and instantiating the service. */
     override func setUp() {
         super.setUp()
         continueAfterFailure = false


    // MARK: - Negative Tests

    /** Test getProfile() with text that is too short (less than 100 words). */
    func testProfileWithShortText() {
        let description = "Try to analyze text that is too short (less than 100 words)."
        let expectation = self.expectation(description: description)

        guard let mobyDickIntro = mobyDickIntro else {
            XCTFail("Unable to read MobyDickIntro.txt file.")
            return
        }

        let failure = { (error: Error) in
            expectation.fulfill()
        }

        personalityInsights.getProfile(
            fromText: mobyDickIntro,
            failure: failure,
            success: failWithResult
        )
        waitForExpectations()
    }
}

        waitForExpectations()
    }

    func testProfileContent() {
        let expectation = self.expectation(description: "profile(content:)")
        let contentItem = ContentItem(
            content: text,
            id: "245160944223793152",
            created: 1427720427,
            updated: 1427720427,
            contenttype: "text/plain",
            language: "en",
            parentid: "",
            reply: false,
            forward: false
        )
        let content = Content(contentItems: [contentItem])
        personalityInsights.profile(content: content, failure: failWithError) { profile in
            if let behaviors = profile.behavior {
                for behavior in behaviors {
                    XCTAssertNotNil(behavior.traitID)
