// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/ValueMapper.java
// public interface ValueMapper {
// 
//   void write(Object value, OutputStream out) throws SerializerException;
// 
//   <T> T read(Class<T> type, InputStream in) throws SerializerException;
// }
// 
// Path: cacheio-serializers/cacheio-gson-serializer/src/test/java/com/mobilejazz/cacheio/serializers/gson/model/UserTestModel.java
// public class UserTestModel {
// 
//   private int id;
//   private String name;
// 
//   public UserTestModel() {
//   }
// 
//   public int getId() {
//     return id;
//   }
// 
//   public void setId(int id) {
//     this.id = id;
//   }
// 
//   public String getName() {
//     return name;
//   }
// 
//   public void setName(String name) {
//     this.name = name;
//   }
// }


import com.google.gson.Gson;
import com.mobilejazz.cacheio.BuildConfig;
import com.mobilejazz.cacheio.mappers.ValueMapper;
import com.mobilejazz.cacheio.serializers.gson.model.UserTestModel;
import org.assertj.core.api.Assertions;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import java.io.*;
package com.mobilejazz.cacheio.serializers.gson;



@RunWith(RobolectricTestRunner.class)
@Config(constants = BuildConfig.class, sdk = 21, manifest = Config.NONE)
public class GsonValueMapperTest {

  private ValueMapper valueMapper;

  @Before public void setUp() throws Exception {
    Gson gson = new Gson();
    valueMapper = new GsonValueMapper(gson);
  }

  @Test public void shouldWriteTheBytesOfObject() throws Exception {
// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/ValueMapper.java
// public interface ValueMapper {
// 
//   void write(Object value, OutputStream out) throws SerializerException;
// 
//   <T> T read(Class<T> type, InputStream in) throws SerializerException;
// }
// 
// Path: cacheio-serializers/cacheio-gson-serializer/src/test/java/com/mobilejazz/cacheio/serializers/gson/model/UserTestModel.java
// public class UserTestModel {
// 
//   private int id;
//   private String name;
// 
//   public UserTestModel() {
//   }
// 
//   public int getId() {
//     return id;
//   }
// 
//   public void setId(int id) {
//     this.id = id;
//   }
// 
//   public String getName() {
//     return name;
//   }
// 
//   public void setName(String name) {
//     this.name = name;
//   }
// }


// Path: cacheio-serializers/cacheio-gson-serializer/src/test/java/com/mobilejazz/cacheio/serializers/gson/GsonValueMapperTest.java
import com.google.gson.Gson;
import com.mobilejazz.cacheio.BuildConfig;
import com.mobilejazz.cacheio.mappers.ValueMapper;
import com.mobilejazz.cacheio.serializers.gson.model.UserTestModel;
import org.assertj.core.api.Assertions;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import java.io.*;

package com.mobilejazz.cacheio.serializers.gson;



@RunWith(RobolectricTestRunner.class)
@Config(constants = BuildConfig.class, sdk = 21, manifest = Config.NONE)
public class GsonValueMapperTest {

  private ValueMapper valueMapper;

  @Before public void setUp() throws Exception {
    Gson gson = new Gson();
    valueMapper = new GsonValueMapper(gson);
  }

  @Test public void shouldWriteTheBytesOfObject() throws Exception {
    UserTestModel userTestModel = fakeUserTestObject();