     {
         let videoDictionary: [String: Any] = ["link": "vimeo.com"]
         let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
-        
         XCTAssertNotNil(testVideoObject)
         XCTAssertFalse(testVideoObject.isLive())
     }
     
-    func test_isLiveEventInProgress_returnsTrue_whenEventIsInMidBroadcastState()
+    func test_isLiveEventInProgress_returnsTrue_whenEventIsInUnavailablePreBroadcastState()
     {
-        let liveDictionary: [String: Any] = ["link": "vimeo.com", "key": "abcdefg", "activeTime": Date(), "endedTime": Date(), "archivedTime": Date(), "status": "ready"]
+        liveDictionary["status"] = "unavailable"
         let testLiveObject = VIMLive(keyValueDictionary: liveDictionary)!
-        
         let videoDictionary: [String: Any] = ["live": testLiveObject]
         let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
         


class VIMVideoTests: XCTestCase
{
    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)!
        

        XCTAssertNotNil(testVideoObject)
        XCTAssertFalse(testVideoObject.isLiveEventInProgress())
    }
    
    func test_isPostBroadcast_returnsTrue_whenEventIsInDoneState()
    {
        liveDictionary["status"] = "done"
        let testLiveObject = VIMLive(keyValueDictionary: liveDictionary)!
        let videoDictionary: [String: Any] = ["live": testLiveObject]
        let testVideoObject = VIMVideo(keyValueDictionary: videoDictionary)!
        
        XCTAssertNotNil(testLiveObject)
        XCTAssertNotNil(testVideoObject)
        XCTAssertTrue(testVideoObject.isPostBroadcast())
    }
}
