public function testFirstArgumentArrayIsTreatedAsConfig()
{
$config = ['body' => 'foobar', 'subject' => 'barfoo'];
$result = $this->plugin->__invoke($config);
$this->assertInstanceOf('AcMailer\\Result\\ResultInterface', $result);
$this->assertEquals($config['body'], $this->service->getMessage()->getBody());
$this->assertEquals($config['subject'], $this->service->getMessage()->getSubject());
}