Testing

Aus Thoms Wiki
Zur Navigation springenZur Suche springen

Hier stehen nur ein paar Allgemeine Notizen zu Testing und TDD.

declare(strict_types=1);

Mock Class

Use anonymous classes!

$mock = new class implements FeatureInterface {
 public function method1() {}
}