ObjectiveCMethodStateTests adopted to XCTest.