Skip to content

Commit 2c62814

Browse files
committed
Add test for construction with empty string
1 parent bf874f7 commit 2c62814

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tests/Unit/Property/SelectorTest.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,17 @@ public function parseExtractsTwoCommentsFromSelector(): void
318318
/**
319319
* @test
320320
*/
321-
public function canConstructObjectWithEmptyState(): void
321+
public function constructsObjectWithEmptyStateWithNoArgumetProvided(): void
322+
{
323+
$subject = new Selector();
324+
325+
self::assertSame('', $subject->getSelector());
326+
}
327+
328+
/**
329+
* @test
330+
*/
331+
public function constructsObjectWithEmptyStateWithEmptyStringProvided(): void
322332
{
323333
$subject = new Selector('');
324334

0 commit comments

Comments
 (0)