@@ -56,28 +56,28 @@ public function nonStringProvider() {
5656 );
5757 }
5858
59- public function testGivenGuidOfPresentStatement_getStatementWithGuidReturnsStatement () {
59+ public function testGivenGuidOfPresentStatement_getStatementByGuidReturnsStatement () {
6060 $ statement = $ this ->newStatement ( 1 , 'some guid ' );
6161
6262 $ statements = new StatementByGuidMap ( array ( $ statement ) );
6363
64- $ this ->assertEquals ( $ statement , $ statements ->getStatementWithGuid ( 'some guid ' ) );
64+ $ this ->assertEquals ( $ statement , $ statements ->getStatementByGuid ( 'some guid ' ) );
6565 }
6666
67- public function testGivenGuidOfNotPresentStatement_getStatementWithGuidReturnsNull () {
67+ public function testGivenGuidOfNotPresentStatement_getStatementByGuidReturnsNull () {
6868 $ statements = new StatementByGuidMap ();
6969
70- $ this ->assertNull ( $ statements ->getStatementWithGuid ( 'some guid ' ) );
70+ $ this ->assertNull ( $ statements ->getStatementByGuid ( 'some guid ' ) );
7171 }
7272
7373 /**
7474 * @dataProvider nonStringProvider
7575 */
76- public function testGivenNonStringGuid_getStatementWithGuidThrowsException ( $ nonString ) {
76+ public function testGivenNonStringGuid_getStatementByGuidThrowsException ( $ nonString ) {
7777 $ statements = new StatementByGuidMap ();
7878
7979 $ this ->setExpectedException ( 'InvalidArgumentException ' );
80- $ statements ->getStatementWithGuid ( $ nonString );
80+ $ statements ->getStatementByGuid ( $ nonString );
8181 }
8282
8383 public function testGivenGuidOfPresentStatement_removeStatementWithGuidRemovesTheStatement () {
@@ -177,7 +177,7 @@ public function testGivenStatementWithPresentGuid_addStatementReplacesThePresent
177177
178178 $ statements ->addStatement ( $ statement2 );
179179
180- $ this ->assertEquals ( $ statement2 , $ statements ->getStatementWithGuid ( 'some guid ' ) );
180+ $ this ->assertEquals ( $ statement2 , $ statements ->getStatementByGuid ( 'some guid ' ) );
181181 }
182182
183183 public function testToArray () {
0 commit comments