     expect(object.options).toBe options
     expect(object.options.name).toBe 'Fatih'
 
+
   it 'should set data passed to constructor', ->
     data   = name: 'Fatih', age: 27
     object = new spark.object.Object null, data


    expect(object.data.name).toBe 'Fatih'

  it 'should get options with getOptions method', ->
    options = name: 'Fatih'
    object  = new spark.object.Object options

    expect(object.getOptions()).toBe options

  it 'should get an option with getOption method', ->
    options = name: 'Fatih'


    expect(object.getOption('name')).toBe 'Fatih'


  it 'should get data with getData method', ->
    data   = name: 'Fatih'
    object = new spark.object.Object null, data
