protected function setUp()
{
$factory = new Factory();
$this->repository = new SchemasRepository($factory);
$this->repository->configure($this->config);
$defaults = $this->config[SchemasRepository::DEFAULTS];
$this->defaults = $factory->createContainer($defaults);
$this->a = $factory->createContainer(array_merge($defaults, $this->config[static::A]));
$this->b = $factory->createContainer(array_merge($defaults, $this->config[static::B]));
}