       get: () -> @test
       set: (value) ->
         @test = value * 2
-    
+
     bar: @property
       get: () ->
         "silly"
       set: (value) ->
         "silly"
-  
+
   @obj = new Custom
   @obj.set 'foo', 1
   @obj.observe 'foo', (value, oldValue) ->
     equals value, 4
     equals oldValue, 2
   @obj.set 'foo', 2
-  
+
   @obj.observe 'bar', (value, oldValue) ->
     ok false, "Observer isn't supposed to be called because set doesn't return a different value!"
   @obj.set 'bar', 'weird'

  ok  @subSubClass.get
  ok  @subClass.set
  ok  @subSubClass.set

test "classes shouldn't share attributes", ->
  @subSubClass.set("foo", "bar")
  equal @subSubClass.get("foo"), "bar"
  equal @subClass.get("foo"), undefined

QUnit.module "Batman.Object properties"
  setup: ->


  @obj.set("foo", "something")
  equal @obj.somethingElse, "something"
  
test "one object should not affect the other", ->
  @obj2 = new @klass

