changed some XCTAssert to preconditions
changed some XCTAssert to preconditions

net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin