This took me a minute to realize what you were doing.
~~~ php
$this->assertArrayHasKey('MockCreator', MockAntiqueForSchemas::relations());
$this->assertCount(1, MockAntiqueForSchemas::relations()); // You may not need to be this specific.
~~~