assertEquals(1.10, $testee->value()); $this->assertEquals('currencyCode', $testee->currency_code()); $expected = [ 'currency_code' => 'currencyCode', 'value' => 1.10, ]; $this->assertEquals($expected, $testee->to_array()); } }