 
 
   describe 'get', ->
+
 
     it 'should return the value of a given key', ->
       expect(store.get('firstName')).toBe 'Fatih'

  store = null

  beforeEach ->
    store = new spark.core.Store {},
      firstName : 'Fatih'
      lastName  : 'Acet'
      age       : 27
      isMarried : yes


  it 'should extends spark.core.Object', ->
    expect(store instanceof spark.core.Object).toBeTruthy()

  it 'should have default options', ->
    s = new spark.core.Store null, null

      expect(store.get('isDoctor')).not.toBeDefined()


    it 'should validate the value', ->
      passed = 0
      failed = 0

      store.on 'PropertySet',      -> ++passed
      store.on 'PropertyRejected', -> ++failed

      store.set 'email', 'acet'
      expect(failed).toBe 1

      store.set 'firstName', 'Fatih Acet'
      expect(passed).toBe 1

      store.set 'age', 'acet'
      expect(failed).toBe 2

      store.set 'userId', '10ak10ak'
      expect(passed).toBe 2

      store.set 'isMarried', yes
      expect(passed).toBe 3


  it 'should remove a key from store', ->
    keysLength = store.getKeys().length

    expect(store.has('age')).toBeTruthy()

    store.unset('age')

    expect(store.has('age')).toBeFalsy()
    expect(store.getKeys().length + 1 is keysLength).toBeTruthy()


  it 'should remove all keys from store', ->
