SWS-656 - ResponseMatcher.payload(Resource payload) should be static
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* 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
|
||||
* 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,
|
||||
@@ -64,7 +64,7 @@ public abstract class ResponseMatchers {
|
||||
* @param payload the XML payload
|
||||
* @return the response matcher
|
||||
*/
|
||||
public ResponseMatcher payload(Resource payload) throws IOException {
|
||||
public static ResponseMatcher payload(Resource payload) throws IOException {
|
||||
return payload(new ResourceSource(payload));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user