Skip to content

Commit

Permalink
Fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Apr 25, 2015
1 parent 5430752 commit 51a57b6
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/Extensions/IntegrationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected function assertSee($text, $message, $negate = false)
* @return static
* @throws PHPUnitException
*/
public function see($text)
protected function see($text)
{
return $this->assertSee($text, sprintf(
"Could not find '%s' on the page, '%s'.", $text, $this->currentPage
Expand All @@ -149,7 +149,7 @@ public function see($text)
* @return static
* @throws PHPUnitException
*/
public function notSee($text)
protected function notSee($text)
{
return $this->assertSee($text, sprintf(
"Could not find '%s' on the page, '%s'.", $text, $this->currentPage
Expand All @@ -164,7 +164,7 @@ public function notSee($text)
* @param boolean $negate
* @return static
*/
public function assertPageIs($uri, $message, $negate = false)
protected function assertPageIs($uri, $message, $negate = false)
{
$this->assertPageLoaded($uri = $this->prepareUrl($uri));

Expand All @@ -181,7 +181,7 @@ public function assertPageIs($uri, $message, $negate = false)
* @param string $uri
* @return static
*/
public function seePageIs($uri)
protected function seePageIs($uri)
{
$this->assertPageIs(
$uri, "Expected to be on the page, {$uri}, but wasn't."
Expand All @@ -194,7 +194,7 @@ public function seePageIs($uri)
* @param string $uri
* @return static
*/
public function notSeePageIs($uri)
protected function notSeePageIs($uri)
{
return $this->assertPageIs(
$uri, "Expected to NOT be on the page, {$uri}, but was.", true
Expand All @@ -207,7 +207,7 @@ public function notSeePageIs($uri)
* @param string $page
* @return static
*/
public function onPage($page)
protected function onPage($page)
{
return $this->seePageIs($page);
}
Expand All @@ -218,7 +218,7 @@ public function onPage($page)
* @param string $name
* @return static
*/
public function click($name)
protected function click($name)
{
$link = $this->crawler->selectLink($name);

Expand Down Expand Up @@ -247,7 +247,7 @@ public function click($name)
* @param string $text
* @return static
*/
public function follow($text)
protected function follow($text)
{
return $this->click($text);
}
Expand All @@ -259,7 +259,7 @@ public function follow($text)
* @param string $element
* @return static
*/
public function type($text, $element)
protected function type($text, $element)
{
return $this->storeInput($element, $text);
}
Expand All @@ -271,7 +271,7 @@ public function type($text, $element)
* @param string $element
* @return static
*/
public function fill($text, $element)
protected function fill($text, $element)
{
return $this->type($text, $element);
}
Expand All @@ -282,7 +282,7 @@ public function fill($text, $element)
* @param string $element
* @return static
*/
public function check($element)
protected function check($element)
{
return $this->storeInput($element, true);
}
Expand All @@ -293,7 +293,7 @@ public function check($element)
* @param string $element
* @return static
*/
public function tick($element)
protected function tick($element)
{
return $this->check($element);
}
Expand All @@ -305,7 +305,7 @@ public function tick($element)
* @param string $option
* @return static
*/
public function select($element, $option)
protected function select($element, $option)
{
return $this->storeInput($element, $option);
}
Expand All @@ -317,7 +317,7 @@ public function select($element, $option)
* @param string $absolutePath
* @return static
*/
public function attachFile($element, $absolutePath)
protected function attachFile($element, $absolutePath)
{
return $this->storeInput($element, $absolutePath);
}
Expand Down Expand Up @@ -346,7 +346,7 @@ protected function storeInput($name, $value)
* @param string $buttonText
* @return static
*/
public function press($buttonText)
protected function press($buttonText)
{
return $this->submitForm($buttonText, $this->inputs);
}
Expand All @@ -356,7 +356,7 @@ public function press($buttonText)
*
* @return void
*/
public function dump()
protected function dump()
{
$this->logLatestContent();

Expand Down Expand Up @@ -469,7 +469,7 @@ protected function assertFilterProducedResults($filter)
* @param string $path
* @return static
*/
public function seeFile($path)
protected function seeFile($path)
{
$this->assertFileExists($path);

Expand All @@ -482,7 +482,7 @@ public function seeFile($path)
* @param string $path
* @return static
*/
public function notSeeFile($path)
protected function notSeeFile($path)
{
$this->assertFileNotExists($path);

Expand All @@ -498,7 +498,7 @@ public function notSeeFile($path)
* @param boolean $negate
* @return static
*/
public function assertInDatabase($table, array $data, $message, $negate = false)
protected function assertInDatabase($table, array $data, $message, $negate = false)
{
$count = $this->seeRowsWereReturned($table, $data);
$method = $negate ? 'assertEquals' : 'assertGreaterThan';
Expand All @@ -515,7 +515,7 @@ public function assertInDatabase($table, array $data, $message, $negate = false)
* @param array $data
* @return static
*/
public function seeInDatabase($table, array $data)
protected function seeInDatabase($table, array $data)
{
return $this->assertInDatabase($table, $data, sprintf(
"Didn't see row in the '%s' table that matched the attributes '%s'.",
Expand All @@ -530,7 +530,7 @@ public function seeInDatabase($table, array $data)
* @param array $data
* @return static
*/
public function notSeeInDatabase($table, array $data)
protected function notSeeInDatabase($table, array $data)
{
return $this->assertInDatabase($table, $data, sprintf(
"Found row(s) in the '%s' table that matched the attributes '%s', but did not expect to.",
Expand All @@ -545,7 +545,7 @@ public function notSeeInDatabase($table, array $data)
* @param array $data
* @return static
*/
public function verifyInDatabase($table, array $data)
protected function verifyInDatabase($table, array $data)
{
return $this->seeInDatabase($table, $data);
}
Expand All @@ -557,7 +557,7 @@ public function verifyInDatabase($table, array $data)
* @param array $data
* @return static
*/
public function notVerifyInDatabase($table, array $data)
protected function notVerifyInDatabase($table, array $data)
{
return $this->notSeeInDatabase($table, $data);
}
Expand Down Expand Up @@ -665,7 +665,7 @@ public function getAnnotations()
*
* @return File
*/
public function files()
protected function files()
{
return new File;
}
Expand Down

0 comments on commit 51a57b6

Please sign in to comment.