. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Services\CalendarService; use Fisharebest\Webtrees\TestCase; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(UpcomingAnniversariesModule::class)] 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()); } }