Skip to content

Commit a0d14f1

Browse files
committed
Style fixes
1 parent ea8b398 commit a0d14f1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ClientTest extends TestCase
1414
/**
1515
* @test
1616
*/
17-
public function it_can_send_a_request()
17+
public function itCanSendARequest()
1818
{
1919
$request = new Request('GET', new Uri('http://example.com'));
2020
/** @var \PHPUnit\Framework\MockObject\MockObject&\Swis\Http\Fixture\ResponseBuilderInterface $responseBuilder */

tests/MockNotFoundExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MockNotFoundExceptionTest extends TestCase
1010
/**
1111
* @test
1212
*/
13-
public function it_can_get_possible_paths()
13+
public function itCanGetPossiblePaths()
1414
{
1515
$paths = ['path1', 'path2'];
1616
$exception = new MockNotFoundException('message', $paths);

tests/ResponseBuilderTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ResponseBuilderTest extends TestCase
1919
* @param string $method
2020
* @param string $expectedMock
2121
*/
22-
public function it_can_build_a_response(string $url, string $method, string $expectedMock)
22+
public function itCanBuildAResponse(string $url, string $method, string $expectedMock)
2323
{
2424
$builder = $this->getBuilder();
2525

@@ -65,7 +65,7 @@ public function getResponses(): array
6565
/**
6666
* @test
6767
*/
68-
public function it_can_be_set_to_strict_mode()
68+
public function itCanBeSetToStrictMode()
6969
{
7070
$builder = $this->getBuilder();
7171

@@ -88,7 +88,7 @@ public function it_can_be_set_to_strict_mode()
8888
/**
8989
* @test
9090
*/
91-
public function it_throws_an_exception_when_it_cant_find_a_fixture()
91+
public function itThrowsAnExceptionWhenItCantFindAFixture()
9292
{
9393
$this->expectException(MockNotFoundException::class);
9494

@@ -99,7 +99,7 @@ public function it_throws_an_exception_when_it_cant_find_a_fixture()
9999
/**
100100
* @test
101101
*/
102-
public function it_throws_an_exception_when_path_is_out_of_bounds()
102+
public function itThrowsAnExceptionWhenPathIsOutOfBounds()
103103
{
104104
$this->expectException(\RuntimeException::class);
105105

@@ -110,7 +110,7 @@ public function it_throws_an_exception_when_path_is_out_of_bounds()
110110
/**
111111
* @test
112112
*/
113-
public function it_can_build_a_response_using_domain_aliases()
113+
public function itCanBuildAResponseUsingDomainAliases()
114114
{
115115
$messageFactory = MessageFactoryDiscovery::find();
116116

@@ -129,7 +129,7 @@ public function it_can_build_a_response_using_domain_aliases()
129129
/**
130130
* @test
131131
*/
132-
public function it_can_build_a_response_with_custom_headers()
132+
public function itCanBuildAResponseWithCustomHeaders()
133133
{
134134
$messageFactory = MessageFactoryDiscovery::find();
135135

@@ -148,7 +148,7 @@ public function it_can_build_a_response_with_custom_headers()
148148
/**
149149
* @test
150150
*/
151-
public function it_can_build_a_response_with_custom_status()
151+
public function itCanBuildAResponseWithCustomStatus()
152152
{
153153
$messageFactory = MessageFactoryDiscovery::find();
154154

0 commit comments

Comments
 (0)