 class AndroidCommandTests: XCTestCase {
 
     // MARK: Mocks
+
+    enum InternalError: Error {
+        case someError
+    }
 
     struct TestCommand: AndroidCommand {
         typealias Options = TestOptions

//  Copyright © 2016 Scott Hoyt. All rights reserved.
//

import Foundation
import XCTest
@testable import NoonianKit
import Commandant


    func testRunWithInternalError() {
        var command = TestCommand()
        command.error = InternalError.someError
        let result: Result<(), NoonianError> = command.run(TestOptions())
        switch result {
        case .failure(NoonianError.internalError(InternalError.someError)):
            return
        default:
            XCTFail("Should have failed with an internalError")
