$method->getName(), (new \ReflectionClass(Stat::class))->getMethods(), ); sort($methods); $this->assertSame(['key', 'label'], $methods); } public function test_a_breakdown_stat_is_a_stat(): void { $this->assertTrue(is_subclass_of(BreakdownStat::class, Stat::class)); } public function test_articles_per_feed_is_a_breakdown_stat(): void { $this->assertInstanceOf(BreakdownStat::class, new ArticlesPerFeed); } }