add unit test for MockBuilder::getMocks()