コード例 #1
0
 public void SetUp()
 {
     api           = new Api();
     parser        = A.Fake <KinoPoiskApi.IParser>();
     requester     = A.Fake <KinoPoiskApi.IRequester>();
     api.parser    = parser;
     api.requester = requester;
     api.AddSearchParameter(SearchParameterType.Genre, "ужасы");
     api.AddRequiredValue(RequiredValueType.Genre);
     //questions[0].Answer = "драма";
     //questions[1].Answer = "россия";
     //questions[2].Answer = "2000";
     //user = new User(bot);
 }