final protected function assertClassUsesTrait(string $traitName, string $className): void
    {
        $this->assertTraitExists($traitName);
        $this->assertClassExists($className);

        self::assertContains($traitName, \class_uses($className), \sprintf(
            'Failed asserting that class "%s" uses trait "%s".',
            $className,
            $traitName
        ));
    }