public void ReadConverterDoesNotThrowWithNullEngineAndScheduler() { CurrentDynamoModel.AddHomeWorkspace(); var json = CurrentDynamoModel.CurrentWorkspace.ToJson(null); Assert.DoesNotThrow(() => { WorkspaceModel.FromJson( json, this.CurrentDynamoModel.LibraryServices, null, null, this.CurrentDynamoModel.NodeFactory, true, true, this.CurrentDynamoModel.CustomNodeManager); }); }
public void ConverterDoesNotThrowWithNullEngine() { CurrentDynamoModel.AddHomeWorkspace(); Assert.DoesNotThrow(() => { CurrentDynamoModel.CurrentWorkspace.ToJson(null); }); }