public void Draw() { var machine = new PhoneServiceStateModel().Machine; var generator = new StateMachineGraphvizGenerator(machine.GetGraph()); var dotFile = generator.CreateDotFile(); Console.WriteLine(dotFile); }
public void Setup() { _model = new PhoneServiceStateModel(); _machine = _model.Machine; }
public void Should_return_a_wonderful_breakdown_of_the_guts_inside_it() { ProbeResult result = new PhoneServiceStateModel().Machine.GetProbeResult(); Console.WriteLine(result.ToJsonString()); }