def METHOD_NAME(self):
    self.create_kernel_with_prior()
    self.create_kernel_with_prior(
        alpha_prior=GammaPrior(1.0, 1.0),
        beta_prior=GammaPrior(1.0, 1.0),
    )
    self.assertRaises(TypeError, self.create_kernel_with_prior, 1)