 public struct MockResponse {
     
     /// The HTTP status code
-    public let statusCode: Int?
+    public let statusCode: Int
     
     /// The body data
     public let data: NSData?

    ///
    public func mockResponse(endpoint endpoint: String? = nil, status: Int? = nil, data: NSData? = nil, headers: [String:String]? = nil, onlyOnce: Bool = false, delay: NSTimeInterval = 0, matcher: MockResponseMatcher? = nil) {
        let response = MockResponse(
            statusCode: status,
            data: data,
            headers: headers)
        mockResponse(endpoint: endpoint, response: response, onlyOnce: onlyOnce, delay: delay, matcher: matcher)

        }
        let mockData = mockConfig.response
        
        let statusCode = mockData.statusCode
        let content: HttpResponseContent? = {
            if let bodyData = mockData.data {
                return (length: bodyData.length, write: { responseBodyWriter in
