. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Services\CalendarService; use Fisharebest\Webtrees\TestCase; /** * Test harness for the class UpcomingAnniversariesModule * * @covers \Fisharebest\Webtrees\Module\UpcomingAnniversariesModule */ class UpcomingAnniversariesModuleTest extends TestCase { public function testModuleProperties(): void { $calendar_service = $this->createStub(CalendarService::class); $module = new UpcomingAnniversariesModule($calendar_service); self::assertInstanceOf(ModuleBlockInterface::class, $module); self::assertTrue($module->loadAjax()); self::assertTrue($module->isTreeBlock()); self::assertTrue($module->isUserBlock()); } }