 
   it 'should validate function_name of on_value', ->
     (->
-      liar = createLiar [
+      liar.expect [
         function_name: 'do_stuff'
         returns:
           value: {}

        }
      ]



      liar.addEventListener 'onLoad', (error, result) ->
        yielded = result
      liar.loadStuff()

    done()

describe 'Syntax checking', ->
  liar = null
  beforeEach -> liar = {}
  it 'should have a nice warning when too few callbacks', ->
    (->
      liar.expect [
        function_name: 'kaboom'
        run_callback: [
          {
