public function assertNotThrows(string $class, callable $execute) : void
    {
        try {
            $execute();
        } catch (ExpectationFailedException $e) {
            throw $e;
        } catch (Throwable $e) {
            static::assertThat($e, new LogicalNot(new ConstraintException($class)));

            return;
        }

        static::assertThat(null, new LogicalNot(new ConstraintException($class)));
    }