assertArrayHasKey('real', $result); $this->assertEquals($real, $result['real']); $this->assertArrayHasKey('imaginary', $result); $this->assertEquals($imaginary, $result['imaginary']); $this->assertArrayHasKey('suffix', $result); $this->assertEquals($suffix, $result['suffix']); } }