 
 class VIMVideoTests: XCTestCase
 {
+    private var liveDictionary: [String: Any] = ["link": "vimeo.com", "key": "abcdefg", "activeTime": Date(), "endedTime": Date(), "archivedTime": Date()]
+    
     func test_isLive_returnsTrue_whenLiveObjectExists()
     {
-        let liveDictionary: [String: Any] = ["link": "vimeo.com", "key": "abcdefg", "activeTime": Date(), "endedTime": Date(), "archivedTime": Date()]
         let testLiveObject = VIMLive(keyValueDictionary: liveDictionary)!
-        
         let videoDictionary: [String: Any] = ["live": testLiveObject]
         let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
         

        XCTAssertTrue(testVideoObject.isLiveEventInProgress())
    }
    
    func test_isLiveEventInProgress_returnsTrue_whenEventIsInPreBroadcastState()
    {
        let liveDictionary: [String: Any] = ["link": "vimeo.com", "key": "abcdefg", "activeTime": Date(), "endedTime": Date(), "archivedTime": Date(), "status": "archiving"]
        let testLiveObject = VIMLive(keyValueDictionary: liveDictionary)!
        
        let videoDictionary: [String: Any] = ["live": testLiveObject]
        let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
        

    
    func test_isLiveEventInProgress_returnsFalse_whenEventIsInPostBroadcastState()
    {
        liveDictionary["status"] = "done"
        let testLiveObject = VIMLive(keyValueDictionary: liveDictionary)!
        let videoDictionary: [String: Any] = ["live": testLiveObject]
        let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
        
