@@ -16,7 +16,7 @@ public function testParseResponse()
1616 /* @var $first Clue\React\Ami\Protocol\Response */
1717
1818 $ this ->assertInstanceOf ('Clue\React\Ami\Protocol\Response ' , $ first );
19- $ this ->assertEquals ('Success ' , $ first ->getField ('Response ' ));
19+ $ this ->assertEquals ('Success ' , $ first ->getFieldValue ('Response ' ));
2020 }
2121
2222 public function testParseResponseSpace ()
@@ -31,7 +31,7 @@ public function testParseResponseSpace()
3131 /* @var $first Clue\React\Ami\Protocol\Response */
3232
3333 $ this ->assertInstanceOf ('Clue\React\Ami\Protocol\Response ' , $ first );
34- $ this ->assertEquals (' spaces ' , $ first ->getField ('Message ' ));
34+ $ this ->assertEquals (' spaces ' , $ first ->getFieldValue ('Message ' ));
3535 }
3636
3737 public function testParsingMultipleEvents ()
@@ -61,8 +61,8 @@ public function testParsingCommandResponse()
6161 /* @var $first Clue\React\Ami\Protocol\Response */
6262
6363 $ this ->assertInstanceOf ('Clue\React\Ami\Protocol\Response ' , $ first );
64- $ this ->assertEquals ('Follows ' , $ first ->getField ('Response ' ));
65- $ this ->assertEquals ("Testing: yes \nAnother Line \n--END COMMAND-- " , $ first ->getField ('_ ' ));
64+ $ this ->assertEquals ('Follows ' , $ first ->getFieldValue ('Response ' ));
65+ $ this ->assertEquals ("Testing: yes \nAnother Line \n--END COMMAND-- " , $ first ->getFieldValue ('_ ' ));
6666 }
6767
6868 /**
0 commit comments