File tree Expand file tree Collapse file tree 8 files changed +25
-25
lines changed
Expand file tree Collapse file tree 8 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,8 @@ public function testTypeMismatchFromArrayShouldFailWithError(): void
352352 ]);
353353 }
354354
355- #[TestDox('Access required property before initialising should throw exception ' )]
356- public function testAccessRequiredPropertyBeforeInitialisingShouldThrowException (): void
355+ #[TestDox('Access required property before initializing should throw exception ' )]
356+ public function testAccessRequiredPropertyBeforeInitializingShouldThrowException (): void
357357 {
358358 // Arrange
359359 $ requiredTransfer = new RequiredTransfer ();
Original file line number Diff line number Diff line change @@ -189,8 +189,8 @@ public static function invalidDefinitionDataProvider(): Generator
189189 ];
190190 }
191191
192- #[TestDox('Fail generate transfer objects ' )]
193- public function testFailGenerateTransferObjects (): void
192+ #[TestDox('Failed to generate transfer objects ' )]
193+ public function testFailedToGenerateTransferObjects (): void
194194 {
195195 // Arrange
196196 $ configPath = $ this ->getConfigPath ('invalid-class-name ' );
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ public static function tearDownAfterClass(): void
3737 self ::closeFile ();
3838 }
3939
40- #[TestDox('Failed open file should throw exception ' )]
41- public function testFailedOpenFileShouldThrowException (): void
40+ #[TestDox('Failed to open file should throw exception ' )]
41+ public function testFailedToOpenFileShouldThrowException (): void
4242 {
4343 // Expect
4444 $ this ->fileAppenderMock ->expects ($ this ->once ())
@@ -53,8 +53,8 @@ public function testFailedOpenFileShouldThrowException(): void
5353 $ this ->fileAppenderMock ->appendToFile (self ::FILE_NAME , self ::FILE_CONTENT );
5454 }
5555
56- #[TestDox('Failed write file should throw exception ' )]
57- public function testFailedWriteFileShouldThrowException (): void
56+ #[TestDox('Failed to write file should throw exception ' )]
57+ public function testFailedToWriteFileShouldThrowException (): void
5858 {
5959 // Arrange
6060 $ file = self ::openFile ();
@@ -127,8 +127,8 @@ public function testCloseFile(): void
127127 $ this ->fileAppenderMock ->closeFile (self ::FILE_NAME );
128128 }
129129
130- #[TestDox('File is not exist in the cache should skip closing file ' )]
131- public function testFileIsNotExistInTheCacheShouldSkipCloseFile (): void
130+ #[TestDox('File does not exist in the cache should skip closing file ' )]
131+ public function testFileDoesNotExistInTheCacheShouldSkipClosingFile (): void
132132 {
133133 // Arrange
134134 $ fileName = 'some-name.txt ' ;
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ public static function tearDownAfterClass(): void
3737 self ::closeFile ();
3838 }
3939
40- #[TestDox('Failed open file should throw exception ' )]
41- public function testFailOpenFileShouldThrowException (): void
40+ #[TestDox('Failed to open file should throw exception ' )]
41+ public function testFailedToOpenFileShouldThrowException (): void
4242 {
4343 // Expect
4444 $ this ->fileReaderMock ->expects ($ this ->once ())
@@ -62,8 +62,8 @@ public function testFailOpenFileShouldThrowException(): void
6262 $ this ->fileReaderMock ->readFile (self ::FILE_NAME )->current ();
6363 }
6464
65- #[TestDox('Failed read file should throw exception ' )]
66- public function testFailedReadFileShouldThrowException (): void
65+ #[TestDox('Failed to read file should throw exception ' )]
66+ public function testFailedToReadFileShouldThrowException (): void
6767 {
6868 // Arrange
6969 $ file = self ::openFile ();
@@ -96,8 +96,8 @@ public function testFailedReadFileShouldThrowException(): void
9696 $ this ->fileReaderMock ->readFile (self ::FILE_NAME )->current ();
9797 }
9898
99- #[TestDox('Failed close file should throw exception ' )]
100- public function testFailedCloseFileShouldThrowException (): void
99+ #[TestDox('Failed to close file should throw exception ' )]
100+ public function testFailedToCloseFileShouldThrowException (): void
101101 {
102102 // Arrange
103103 $ file = self ::openFile ();
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function testReadFile(): void
7878
7979 #[TestWith([0 ])]
8080 #[TestWith([false ])]
81- #[TestDox('Empty file size "$filesize" should throw exception ' )]
81+ #[TestDox('Empty file "$filesize" should throw exception ' )]
8282 public function testEmptyFileShouldThrowException (int |false $ filesize ): void
8383 {
8484 // Arrange
@@ -107,8 +107,8 @@ public function testEmptyFileShouldThrowException(int|false $filesize): void
107107 $ this ->fileReaderProgressMock ->readFile ($ filename )->current ();
108108 }
109109
110- #[TestDox('File not exist should throw exception ' )]
111- public function testFileNotExistShouldThrowException (): void
110+ #[TestDox('File does not exist should throw exception ' )]
111+ public function testFileDoesNotExistShouldThrowException (): void
112112 {
113113 // Arrange
114114 $ filename = 'some-path/test.txt ' ;
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ protected function setUp(): void
3030 $ this ->reader = new JsonReader ($ this ->filesystemStub );
3131 }
3232
33- #[TestDox('Failed getJsonContent should throw exception ' )]
34- public function testFailedGetJsonContentShouldThrowException (): void
33+ #[TestDox('Failed to getJsonContent should throw exception ' )]
34+ public function testFailedToGetJsonContentShouldThrowException (): void
3535 {
3636 // Expect
3737 $ this ->filesystemStub
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ protected function setUp(): void
2121 $ this ->proxy = new ConfigProxy ();
2222 }
2323
24- #[TestDox('Get transfer namespace without loading config first should throw exception ' )]
25- public function testGetTransferNamespaceWithoutLoadingConfigFirstShouldThrowException (): void
24+ #[TestDox('Get transfer namespace without loading the config first should throw exception ' )]
25+ public function testGetTransferNamespaceWithoutLoadingTheConfigFirstShouldThrowException (): void
2626 {
2727 // Arrange
2828 ConfigProxy::resetConfig ();
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ protected function setUp(): void
4040 );
4141 }
4242
43- #[TestDox('Duplication file write should throw exception ' )]
44- public function testDuplicationFileWriteShouldThrowException (): void
43+ #[TestDox('Duplicate file write should throw exception ' )]
44+ public function testDuplicateFileWriteShouldThrowException (): void
4545 {
4646 // Arrange
4747 $ contentTransfer = new TransferGeneratorContentTransfer ([
You can’t perform that action at this time.
0 commit comments