Skip to content

Commit 14bde94

Browse files
committed
Removing constructor tests
Removing all tests that creates a new instance but doesn't call any methods nor preform any assertions.
1 parent 71400f0 commit 14bde94

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

Tests/FsConsumerTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ public function testShouldImplementConsumerInterface()
2020
$this->assertClassImplements(Consumer::class, FsConsumer::class);
2121
}
2222

23-
/**
24-
* @doesNotPerformAssertions
25-
*/
26-
public function testCouldBeConstructedWithContextAndDestinationAndPreFetchCountAsArguments()
27-
{
28-
new FsConsumer($this->createContextMock(), new FsDestination(TempFile::generate()), 1);
29-
}
30-
3123
public function testShouldReturnDestinationSetInConstructorOnGetQueue()
3224
{
3325
$destination = new FsDestination(TempFile::generate());

Tests/FsContextTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ public function testShouldImplementContextInterface()
2424
$this->assertClassImplements(Context::class, FsContext::class);
2525
}
2626

27-
/**
28-
* @doesNotPerformAssertions
29-
*/
30-
public function testCouldBeConstructedWithExpectedArguments()
31-
{
32-
new FsContext(sys_get_temp_dir(), 1, 0666, 100);
33-
}
34-
3527
public function testShouldAllowCreateEmptyMessage()
3628
{
3729
$context = new FsContext(sys_get_temp_dir(), 1, 0666, 100);

Tests/FsProducerTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ public function testShouldImplementProducerInterface()
2323
$this->assertClassImplements(Producer::class, FsProducer::class);
2424
}
2525

26-
/**
27-
* @doesNotPerformAssertions
28-
*/
29-
public function testCouldBeConstructedWithContextAsFirstArgument()
30-
{
31-
new FsProducer($this->createContextMock());
32-
}
33-
3426
public function testThrowIfDestinationNotFsOnSend()
3527
{
3628
$producer = new FsProducer($this->createContextMock());

0 commit comments

Comments
 (0)