Source of file MascotSearch.php

Size: 15,226 Bytes - Last Modified: 2019-05-10T12:24:09+01:00

src/Search/MascotSearch.php

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
Covered by 6 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testObjectCanBeConstructedForValidConstructorArguments
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
57
Covered by 6 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testObjectCanBeConstructedForValidConstructorArguments
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
58
Covered by 6 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testObjectCanBeConstructedForValidConstructorArguments
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
59
Covered by 6 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testObjectCanBeConstructedForValidConstructorArguments
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
60616263
Covered by 3 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
64
Covered by 3 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
65
Covered by 3 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
66
Covered by 3 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
6768
Covered by 3 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
6970717273
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
7475
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
76
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
7778
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
79
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
80
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
8182
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
8384
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
85
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
86
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
87
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
88
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
89
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
90
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
91
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
92
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
93
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
94
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
95
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
96
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
97
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
98
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
99
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
100101
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
102
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
103104
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
105
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
106107
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
108
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
109110
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
111
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
112
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
113
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
114
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
115116
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
117
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
118
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
119
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
120121
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
122123
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
124
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
125
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
126127
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
128
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
129
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
130
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
131
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
132
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
133
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
134135
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
136137
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
138139
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
140141142143144
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
145146
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
147
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
148
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
149
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
150151
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
152
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
153
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
154
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
155156
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
157
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
158159
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
160
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
161
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
162163
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
164165166167168
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
169
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
170
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
171
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
172
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
173
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
174
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
175
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
176
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
177178
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
179
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
180181
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
182
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
183
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
184
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
185186
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
187
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
188
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
189
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
190191192
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
193
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
194195
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
196
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
197
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
198199
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
200201
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
202
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
203
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
204205
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
206207208
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
209
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
210
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
211212
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
213
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
214
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
215
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
216217
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
218
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
219
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
220
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
221
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
222
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
223224
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
225
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
226
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
227228
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
229230
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
231232
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
233
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
234
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
235236237
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
238
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
239
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
240241
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
242243244245246
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
247
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
248
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
249
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
250
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
251
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
252
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
253
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
254
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
255256
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
257258
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
259
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
260
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
261
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
262
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
263
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
264
Covered by 4 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
265
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
266267
Covered by 5 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
268269270271272
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
273
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
274
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
275
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
276
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
277
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
278
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
279
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
280
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
281
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
282
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
283
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
284
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
285
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
286
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
287
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
288
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
289
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
290
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
291
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
292
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
293
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
294
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
295
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
296
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
297
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
298
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
299
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
300
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
301
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
302
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
303
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
304
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
305
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
306
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
307
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
308
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
309
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
310
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
311
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
312
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
313
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
314
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
315
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
316
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
317318
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
319320321
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
322
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
323
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
324325326327328
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
329
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
330
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
331
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
332
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
333
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
334
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
335
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
336
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
337
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
338
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
339
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
340
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
341
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
342
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
343
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
344
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
345
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
346
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
347
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
348
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
349
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
350
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
351
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
352
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
353
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
354
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
355
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
356
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
357
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
358
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
359
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
360
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
361
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
362363
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
364365
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
366
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
367
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
368369
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
370
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
371
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
372
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
373
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
374
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
375
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
376
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
377
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
378
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
379
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
380
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
381
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
382
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
383
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
384
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
385
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
386
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
387388
Covered by 2 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
389390391392393
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
394
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
395
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
396
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
397
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
398
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
399
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
400
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
401
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
402
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
403
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
404
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
405
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
406
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
407
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
408
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
409
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
410
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
411
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
412
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
413
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
414
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
415
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
416
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
417
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
418
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
419
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
420
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
421
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
422
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
423
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
424
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
425
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
426
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
427
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
428429
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
430431432
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
433
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
434435
Covered by 1 test(s):
  • pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob
436437438
<?php
/**
 * Copyright 2016 University of Liverpool
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace pgb_liv\php_ms\Search;

use pgb_liv\php_ms\Search\Parameters\MascotSearchParameters;

/**
 * Client to perform Mascot search and results retrieval
 *
 * @author Andrew Collins
 */
class MascotSearch
{

    private $host;

    private $port;

    private $path;

    private $cookies = array();

    const FILE_NAME = 'filename';

    const MIME_TYPE = 'mime';

    const FILE_DATA = 'data';

    /**
     * Create a new instance of this class.
     * Must supply server details.
     *
     * @param string $host
     *            Server hostname or IP address
     * @param int $port
     *            Server port
     * @param string $path
     *            Path to base Mascot directory
     */
    public function __construct($host, $port, $path)
    {
        $this->host = $host;
        $this->port = $port;
        $this->path = $path;
    }

    private function getCookieHeader()
    {
        $cookiePairs = array();
        foreach ($this->cookies as $key => $value) {
            $cookiePairs[] = $key . '=' . $value;
        }

        return 'Cookie: ' . implode(';', $cookiePairs);
    }

    private function sendPost($path, $args)
    {
        $handle = fsockopen($this->host, $this->port);

        fwrite($handle, 'POST ' . $path . ' HTTP/1.1' . "\r\n");
        fwrite($handle, 'Host: ' . $this->host . "\r\n");

        if (! empty($this->cookies)) {
            fwrite($handle, $this->getCookieHeader() . "\r\n");
        }

        $boundary = '---------------------------' . mt_rand();

        $size = 0;
        foreach ($args as $key => $value) {
            $size += 2 + strlen($boundary) + 2;
            if (is_array($value) && $key == 'FILE') {
                $size += 38 + strlen($key) + 13 + strlen($value[MascotSearch::FILE_NAME]) + 3;
                $size += strlen($value[MascotSearch::MIME_TYPE]) + 4;
                $size += filesize($value[MascotSearch::FILE_DATA]) + 4;
            } elseif ($key == 'MODS' || $key == 'IT_MODS') {
                $size += 38 + strlen($key) + 5;
                foreach ($value as $modification) {
                    $size += strlen($modification->getName());
                    $size += 3 + count($modification->getResidues()) + 2;
                }
            } else {
                $size += 38 + strlen($key) + 5;
                $size += strlen($value) + 2;
            }
        }
        $size += 2 + strlen($boundary) + 4;

        fwrite($handle, 'Content-Type: multipart/form-data; boundary=' . $boundary . "\r\n");
        fwrite($handle, 'Content-Length: ' . $size . "\r\n\r\n");

        foreach ($args as $key => $value) {
            fwrite($handle, '--' . $boundary . "\r\n");

            if (is_array($value) && $key == 'FILE') {
                fwrite($handle,
                    'Content-Disposition: form-data; name="' . $key . '"; filename="' . $value[MascotSearch::FILE_NAME] .
                    '"' . "\r\n");
                fwrite($handle, $value[MascotSearch::MIME_TYPE] . "\r\n\r\n");

                $fileHandle = fopen($value[MascotSearch::FILE_DATA], 'r');
                while (! feof($fileHandle)) {
                    fwrite($handle, fgets($fileHandle));
                }

                fclose($fileHandle);

                fwrite($handle, "\r\n\r\n");
            } elseif ($key == 'MODS' || $key == 'IT_MODS') {
                fwrite($handle, 'Content-Disposition: form-data; name="' . $key . '"' . "\r\n\r\n");

                foreach ($value as $modification) {
                    fwrite($handle,
                        $modification->getName() . ' (' . implode('', $modification->getResidues()) . ")\r\n");
                }
            } else {
                fwrite($handle, 'Content-Disposition: form-data; name="' . $key . '"' . "\r\n\r\n");
                fwrite($handle, $value . "\r\n");
            }
        }

        fwrite($handle, '--' . $boundary . "--\r\n");

        return $this->readResponse($handle);
    }

    private function sendGet($path, $args)
    {
        $handle = fsockopen($this->host, $this->port);

        $queryString = '';
        $prefix = '?';
        foreach ($args as $key => $value) {
            $queryString .= $prefix . urlencode($key) . '=' . urlencode($value);

            if ($prefix == '?') {
                $prefix = '&';
            }
        }

        fwrite($handle, 'GET ' . $path . $queryString . ' HTTP/1.1' . "\r\n");
        fwrite($handle, 'Host: ' . $this->host . "\r\n");

        if (! empty($this->cookies)) {
            fwrite($handle, $this->getCookieHeader() . "\r\n\r\n");
        }

        return $this->readResponse($handle);
    }

    private function readResponse($socket)
    {
        $header = '';
        $content = '';
        $isHeader = true;
        $hasAttachment = false;
        $attachmentName = null;
        $tmpFile = null;
        $isChunked = false;
        $chunkSizeExpected = - 1;
        $chunkSize = 0;

        while (! feof($socket)) {
            $line = fgets($socket);

            if ($isChunked) {
                if ($chunkSize + strlen($line) - 2 == $chunkSizeExpected) {
                    $line = substr($line, 0, - 2);
                }

                if ($chunkSize == $chunkSizeExpected) {
                    $chunkSizeExpected = hexdec(trim($line));
                    $chunkSize = 0;
                    continue;
                }

                $chunkSize += strlen($line);
            }

            if ($isHeader) {
                if ($line == "\r\n") {
                    $isHeader = false;

                    if ($isChunked) {
                        // Reset for first chunk
                        $chunkSizeExpected = 0;
                        $chunkSize = 0;
                    }

                    continue;
                }

                if (stripos($line, 'Transfer-Encoding: chunked') === 0) {
                    $isChunked = true;
                }

                if (stripos($line, 'Content-Disposition: attachment;') === 0) {
                    $hasAttachment = true;
                    $attachmentName = substr($line, 43, - 3);
                }

                $header .= $line;
            } elseif ($hasAttachment) {
                if (is_null($tmpFile)) {
                    $tmpFile = tempnam(sys_get_temp_dir(), 'mascot_attach_');
                    $tmpFileHandle = fopen($tmpFile, 'w');
                }

                fwrite($tmpFileHandle, $line);
            } else {
                $content .= $line;
            }
        }

        fclose($socket);

        if (! is_null($tmpFile)) {
            fclose($tmpFileHandle);
        }

        return array(
            'header' => $header,
            'content' => $content,
            'attachmentName' => $attachmentName,
            'attachmentFile' => $tmpFile
        );
    }

    public function authenticate($username, $password)
    {
        $args = array();
        $args['username'] = $username;
        $args['password'] = $password;
        $args['submit'] = 'Login';
        $args['display'] = 'logout_prompt';
        $args['savecookie'] = '1';
        $args['action'] = 'login';
        $args['userid'] = '';
        $args['onerrdisplay'] = 'login_prompt';

        $response = $this->sendPost($this->path . '/cgi/login.pl', $args);

        $this->cookies = array();
        foreach (explode("\n", $response['header']) as $line) {
            if (stripos($line, 'Set-Cookie:') === 0) {
                $cookie = substr($line, 12, stripos($line, ';') - 12);
                $parts = explode('=', $cookie);
                $this->cookies[$parts[0]] = $parts[1];
            }
        }

        return count($this->cookies) >= 3;
    }

    public function getXml($filePath)
    {
        $args = array();
        $args['file'] = $filePath;
        $args['do_export'] = '1';
        $args['prot_hit_num'] = '1';
        $args['prot_acc'] = '1';
        $args['pep_query'] = '1';
        $args['pep_rank'] = '1';
        $args['pep_isbold'] = '1';
        $args['pep_isunique'] = '1';
        $args['pep_exp_mz'] = '1';
        $args['_showallfromerrortolerant'] = '';
        $args['_onlyerrortolerant'] = '';
        $args['_noerrortolerant'] = '';
        $args['_show_decoy_report'] = '0';
        $args['sessionid'] = '';
        $args['export_format'] = 'XML';
        $args['_sigthreshold'] = '0.05';
        $args['_ignoreionsscorebelow'] = '0';
        $args['use_homology'] = '0';
        $args['report'] = 'AUTO';
        $args['_server_mudpit_switch'] = '0.000000001';
        $args['_showsubsets'] = '0';
        $args['search_master'] = '1';
        $args['show_header'] = '1';
        $args['show_decoy'] = '1';
        $args['show_mods'] = '1';
        $args['show_params'] = '1';
        $args['show_format'] = '1';
        $args['protein_master'] = '1';
        $args['prot_score'] = '1';
        $args['prot_desc'] = '1';
        $args['prot_mass'] = '1';
        $args['prot_matches'] = '1';
        $args['peptide_master'] = '1';
        $args['pep_exp_mr'] = '1';
        $args['pep_exp_z'] = '1';
        $args['pep_calc_mr'] = '1';
        $args['pep_calc_mr'] = '1';
        $args['pep_delta'] = '1';
        $args['pep_miss'] = '1';
        $args['pep_score'] = '1';
        $args['pep_expect'] = '1';
        $args['pep_seq'] = '1';
        $args['pep_var_mod'] = '1';
        $args['pep_scan_title'] = '1';

        $response = $this->sendPost($this->path . '/cgi/export_dat_2.pl', $args);

        return array(
            'name' => $response['attachmentName'],
            'path' => $response['attachmentFile']
        );
    }

    public function getSearches($limit)
    {
        $args = array();
        $args['CalledFromForm'] = 1;
        $args['logfile'] = '../logs/searches.log';
        $args['start'] = - 1;
        $args['howMany'] = $limit;
        $args['pathToData'] = '';
        $args['column'] = 0;
        $args['s0'] = 1;
        $args['s1'] = 1;
        $args['s2'] = 1;
        $args['s3'] = 1;
        $args['s4'] = 1;
        $args['s7'] = 1;
        $args['s8'] = 1;
        $args['s9'] = 1;
        $args['s10'] = 1;
        $args['s11'] = 1;
        $args['s12'] = 1;
        $args['s14'] = 1;
        $args['f0'] = '';
        $args['f1'] = '';
        $args['f2'] = '';
        $args['f3'] = '';
        $args['f4'] = '';
        $args['f5'] = '';
        $args['f6'] = '';
        $args['f7'] = '';
        $args['f8'] = '';
        $args['f9'] = '';
        $args['f10'] = '';
        $args['f11'] = '';
        $args['f12'] = '';
        $args['f13'] = '';
        $args['f14'] = '';

        $response = $this->sendGet($this->path . '/x-cgi/ms-review.exe', $args);

        $pattern = '/<TR>\s+<TD><A HREF="..\/cgi\/master_results_2.pl\?file=(?<filename>.*)">\s?(?<job>[0-9]+)<\/A><\/TD>\s+<TD>\s?(?<pid>[0-9]+)<\/TD>\s+<TD>(?<dbase>.+)<\/TD>\s+<TD>(?<username>.*)<\/TD>\s*<TD>(?<email>.*)<\/TD>\s+<TD>(?<ti>.*)<\/TD>\s+<TD>.*<\/TD>\s+<TD NOWRAP>(?<start_time>.+)<\/TD>\s+<TD>\s*(?<dur>[0-9]+)<\/TD>\s+<TD>(?<status>.+)<\/TD>\s+<TD>(?<pr>.+)<\/TD>\s+<TD>(?<typ>.+)<\/TD>\s+<TD>(?<enzyme>.+)<\/TD>\s+<TD>\s?(?<ip>[0-9]*)<\/TD>\s+<TD>\s?(?<userid>[0-9]+)<\/TD>/sU';
        $matches = null;
        preg_match_all($pattern, $response['content'], $matches);

        $searchLog = array();
        for ($i = 0; $i < count($matches['filename']); $i ++) {
            $searchLog[$i] = array();
            $searchLog[$i]['filename'] = $matches['filename'][$i];
            $searchLog[$i]['job'] = $matches['job'][$i];
            $searchLog[$i]['pid'] = $matches['pid'][$i];
            $searchLog[$i]['dbase'] = $matches['dbase'][$i];
            $searchLog[$i]['username'] = $matches['username'][$i];
            $searchLog[$i]['email'] = $matches['email'][$i];
            $searchLog[$i]['ti'] = $matches['ti'][$i];
            $searchLog[$i]['start_time'] = $matches['start_time'][$i];
            $searchLog[$i]['dur'] = $matches['dur'][$i];
            $searchLog[$i]['status'] = $matches['status'][$i];
            $searchLog[$i]['typ'] = $matches['typ'][$i];
            $searchLog[$i]['enzyme'] = $matches['enzyme'][$i];
            $searchLog[$i]['ip'] = $matches['ip'][$i];
            $searchLog[$i]['userid'] = $matches['userid'][$i];
        }

        return $searchLog;
    }

    public function search(MascotSearchParameters $params)
    {
        $args = array();
        $args['INTERMEDIATE'] = $params->getIntermediate();
        $args['FORMVER'] = $params->getFormVersion();
        $args['SEARCH'] = $params->getSearchType();
        $args['PEAK'] = $params->getPeak();
        $args['REPTYPE'] = $params->getRepType();
        $args['ErrTolRepeat'] = $params->getErrorTolerantRepeat();
        $args['SHOWALLMODS'] = $params->isShowAllModsEnabled();
        $args['USERNAME'] = $params->getUserName();
        $args['USEREMAIL'] = $params->getUserMail();
        $args['COM'] = $params->getTitle();
        $args['DB'] = $params->getDatabases();
        $args['CLE'] = $params->getEnzyme();
        $args['PFA'] = $params->getMissedCleavageCount();
        $args['QUANTITATION'] = $params->getQuantitation();
        $args['TAXONOMY'] = $params->getTaxonomy();
        $args['MODS'] = $params->getFixedModifications();
        $args['IT_MODS'] = $params->getVariableModifications();
        $args['TOL'] = $params->getPrecursorTolerance()->getTolerance();
        $args['TOLU'] = $params->getPrecursorTolerance()->getUnit();
        $args['PEP_ISOTOPE_ERROR'] = $params->getPeptideIsotopeError();
        $args['ITOL'] = $params->getFragmentTolerance()->getTolerance();
        $args['ITOLU'] = $params->getFragmentTolerance()->getUnit();
        $args['CHARGE'] = $params->getCharge();
        $args['MASS'] = $params->getMassType();
        $args['FILE'] = array(
            MascotSearch::FILE_NAME => basename($params->getSpectraPath()),
            MascotSearch::MIME_TYPE => 'Content-Type: application/octet-stream',
            MascotSearch::FILE_DATA => $params->getSpectraPath()
        );
        $args['FORMAT'] = $params->getFileFormat();
        $args['PRECURSOR'] = $params->getPrecursor();
        $args['INSTRUMENT'] = $params->getInstrument();
        $args['DECOY'] = $params->isDecoyEnabled();
        $args['REPORT'] = $params->getReport();

        $response = $this->sendPost($this->path . '/cgi/nph-mascot.exe?1', $args);

        // Extract .dat path
        $matches = null;
        preg_match('/master_results\\.pl\\?file=(.*[0-9]+\\/F[0-9]+\\.dat)/', $response['content'], $matches);

        return $matches[1];
    }
}