// Path: src/main/java/com/groupon/vertx/memcache/parser/StoreLineParser.java
// public class StoreLineParser extends BaseLineParser<StoreCommandResponse, StoreCommandResponse.Builder> {
//     private static final Logger log = Logger.getLogger(StoreLineParser.class);
//     private static final MemcacheResponseType[] RESPONSE_TYPES = new MemcacheResponseType[] {
//         MemcacheResponseType.STORED, MemcacheResponseType.NOT_STORED, MemcacheResponseType.EXISTS,
//         MemcacheResponseType.NOT_FOUND
//     };
// 
//     private StoreCommandResponse.Builder builder;
// 
//     public StoreLineParser() {
//         builder = new StoreCommandResponse.Builder();
//     }
// 
//     @Override
//     protected StoreCommandResponse.Builder getResponseBuilder() {
//         return builder;
//     }
// 
//     @Override
//     public boolean isResponseEnd(ByteArrayOutputStream line) {
//         boolean match = super.isResponseEnd(line);
//         if (match) {
//             return true;
//         }
// 
//         MemcacheResponseType type = getResponseType(RESPONSE_TYPES, line);
//         if (type != null) {
//             builder.setStatus(JsendStatus.success);
//             builder.setData(type.name());
//             return true;
//         } else {
//             log.error("isResponseEnd", "exception", "invalidFormat", new String[] {"line"}, getMessageNullIfError(line));
//             throw new MemcacheException("Unexpected format in response");
//         }
//     }
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.groupon.vertx.memcache.parser.StoreLineParser;
/**
 * Copyright 2014 Groupon.com
 *
 * 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.
 */
package com.groupon.vertx.memcache.command;




/**
 * Tests for <code>MemcacheCommand</code>.
 *
 * @author Stuart Siegrist (fsiegrist at groupon dot com)
 * @since 1.0.0
 */
public class MemcacheCommandTest {

    @Test
    public void testEmptyConstructor() {
        try {
// Path: src/main/java/com/groupon/vertx/memcache/parser/StoreLineParser.java
// public class StoreLineParser extends BaseLineParser<StoreCommandResponse, StoreCommandResponse.Builder> {
//     private static final Logger log = Logger.getLogger(StoreLineParser.class);
//     private static final MemcacheResponseType[] RESPONSE_TYPES = new MemcacheResponseType[] {
//         MemcacheResponseType.STORED, MemcacheResponseType.NOT_STORED, MemcacheResponseType.EXISTS,
//         MemcacheResponseType.NOT_FOUND
//     };
// 
//     private StoreCommandResponse.Builder builder;
// 
//     public StoreLineParser() {
//         builder = new StoreCommandResponse.Builder();
//     }
// 
//     @Override
//     protected StoreCommandResponse.Builder getResponseBuilder() {
//         return builder;
//     }
// 
//     @Override
//     public boolean isResponseEnd(ByteArrayOutputStream line) {
//         boolean match = super.isResponseEnd(line);
//         if (match) {
//             return true;
//         }
// 
//         MemcacheResponseType type = getResponseType(RESPONSE_TYPES, line);
//         if (type != null) {
//             builder.setStatus(JsendStatus.success);
//             builder.setData(type.name());
//             return true;
//         } else {
//             log.error("isResponseEnd", "exception", "invalidFormat", new String[] {"line"}, getMessageNullIfError(line));
//             throw new MemcacheException("Unexpected format in response");
//         }
//     }
// }


// Path: src/test/java/com/groupon/vertx/memcache/command/MemcacheCommandTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.groupon.vertx.memcache.parser.StoreLineParser;

/**
 * Copyright 2014 Groupon.com
 *
 * 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.
 */
package com.groupon.vertx.memcache.command;




/**
 * Tests for <code>MemcacheCommand</code>.
 *
 * @author Stuart Siegrist (fsiegrist at groupon dot com)
 * @since 1.0.0
 */
public class MemcacheCommandTest {

    @Test
    public void testEmptyConstructor() {
        try {
            new MemcacheCommand(null, null, null, null);