         self.stateMachine = ElasticMotionStateMachine(ElasticMotionDirection.Right, threshold: 50.0, vibrationSec: vibrationSec)
         self.stateMachine?.delegate = self
         
-        self.expectation = expectationWithDescription(openToRight_WillOpen)
+        self.expectation = expectationWithDescription(ExpectationStateOfOpeningToRight.WillOpen.rawValue)
 
         if let stateMachine = self.stateMachine {
             stateMachine.keepMoving(CGPointMake(0, 10))

        self.stateMachine = ElasticMotionStateMachine(ElasticMotionDirection.Right, threshold: 50.0, vibrationSec: vibrationSec)
        self.stateMachine?.delegate = self
        
        self.expectation = expectationWithDescription(openToRight_MayOpen)
        
        if let stateMachine = self.stateMachine {
            stateMachine.keepMoving(CGPointMake(0, 10))

        self.stateMachine = ElasticMotionStateMachine(ElasticMotionDirection.Right, threshold: 50.0, vibrationSec: vibrationSec)
        self.stateMachine?.delegate = self
        
        self.expectation = expectationWithDescription(ExpectationStateOfOpeningToRight.Opened.rawValue)
        
        if let stateMachine = self.stateMachine {
            stateMachine.keepMoving(CGPointMake(0, 10))
