import Foundation @objc(FixtureExample) class FixtureExample : NSObject, SlimDecisionTable { //MARK: Inputs var input = "" //MARK: func execute() { // 1. Prepare a System Under Test (SUT) using the given inputs. // e.g. let system = MySystemUnderTestContext(input: input) // 2. Run your SUT // 3. Take values from the SUT and return via outputs } //MARK: Outputs var output: NSString? { get { switch input { case "foo": return "bar" case "bar": return "baz" default: return nil } } } }