original_string: 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)));
      }
code: 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)));
      }
code_tokens: 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 ) ) ) ; }
docstring: Asserts that the callable doesn't throw a specified exception.
  
  @param string   $class The exception type expected not to be thrown.
  @param callable $execute The callable.
  @since   1.0.0
docstring_tokens: Asserts that the callable doesn t throw a specified exception .