   end
 
   test "module without @behaviour can't be passed as argument to defoverridable" do
-    message = "cannot pass module Kernel.ExampleBehaviour as argument to defoverridable/1" <>
+    message = "cannot pass module Kernel.OverridableExampleBehaviour as argument to defoverridable/1" <>
               " because its corresponding behaviour is missing. Did you forget to add " <>
-              "@behaviour Kernel.ExampleBehaviour ?"
+              "@behaviour Kernel.OverridableExampleBehaviour ?"
     assert_raise ArgumentError, message, fn ->
       Code.eval_string """
       defmodule Kernel.OverridableTest.Foo do
-        defoverridable Kernel.ExampleBehaviour
+        defoverridable Kernel.OverridableExampleBehaviour
       end
       """
     end

    end
  end

  defoverridable Kernel.ExampleBehaviour

  def required_callback(), do: "overridden"


end

defmodule Kernel.OverridableWithBehaviour do
  @behaviour Kernel.OverridableExampleBehaviour

  def required_callback(), do: "original"

