public function testApplyClasses()
{
$this->registry->get('formatter_1')->willReturn($this->format->reveal());
$this->formatter->registerClasses(['one' => [['formatter_1', ['option_1' => 'value_1']]]]);
$this->format->getDefaultOptions()->willReturn(['option_1' => 'value_x']);
$this->format->format('hello world', ['option_1' => 'value_1'])->willReturn('hai!');
$value = $this->formatter->applyClasses(['one'], 'hello world');
$this->assertEquals('hai!', $value);
}