                       parentIdentifier: ScopeIdentifier(path: []),
                       stateUpdateMap: [:])
     
-    XCTAssertEqual((scope._children[0].component() as! TestChildComponent).state(), 42)
+    XCTAssertEqual((scope._children[0].component() as! TestChildComponent).state, 42)
   }
   
   func test_buildingScopeForComponent_withChildrenWhoHaveState_andStateUpdateForChild_createsChildComponentWithUpdatedState() {

                  parentIdentifier: ScopeIdentifier(path: []),
                  stateUpdateMap: [scope1._handle.identifier: 1000])
    
    XCTAssertEqual(c2.state(), 42)
  }
  
  func test_buildingScopeWithStateUpdateMap_andPreviousScope_updatesState() {

                  parentIdentifier: ScopeIdentifier(path: []),
                  stateUpdateMap: [scope1._handle.identifier: 1000])
    
    XCTAssertEqual(c2.state, 1000)
  }
  
  func test_buildingScopeForComponent_withChildren_createsChildComponent() {
