public function testGetSubunitFormat() { $amount = new Amount(new Number(5.99), new Currency('EUR'), new SubunitFormat(SubunitFormat::NUMBERS)); $this->assertInstanceOf('Kwn\\NumberToWords\\Model\\SubunitFormat', $amount->getSubunitFormat()); }