// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyResponse.java
// public final class RiffsyResponse {
//   @SerializedName("results")
//   private final List<RiffsyResult> mResults;
// 
//   @SerializedName("next")
//   private final Float mNext;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyResponse() {
//     this(new Builder());
//   }
// 
//   public RiffsyResponse(Builder builder) {
//     this.mResults = builder.mResults;
//     this.mNext = builder.mNext;
//   }
// 
//   public List<RiffsyResult> results() {
//     return mResults;
//   }
// 
//   public Float next() {
//     return mNext;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private List<RiffsyResult> mResults;
//     private Float mNext;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyResponse response) {
//       this.mResults = response.mResults;
//     }
// 
//     public Builder results(List<RiffsyResult> results) {
//       this.mResults = results;
//       return this;
//     }
// 
//     public Builder next(Float next) {
//       this.mNext = next;
//       return this;
//     }
// 
//     public RiffsyResponse build() {
//       return new RiffsyResponse(this);
//     }
//   }
// }
// 
// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyResult.java
// public final class RiffsyResult {
//   @SerializedName("media")
//   private final List<RiffsyMedia> mRiffsyMedia;
// 
//   @SerializedName("title")
//   private final String mTitle;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyResult() {
//     this(new Builder());
//   }
// 
//   public RiffsyResult(Builder builder) {
//     this.mRiffsyMedia = builder.mRiffsyMedia;
//     this.mTitle = builder.mTitle;
//   }
// 
//   public List<RiffsyMedia> media() {
//     return mRiffsyMedia;
//   }
// 
//   public String title() {
//     return mTitle;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private List<RiffsyMedia> mRiffsyMedia;
//     private String mTitle;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyResult result) {
//       this.mRiffsyMedia = result.mRiffsyMedia;
//       this.mTitle = result.mTitle;
//     }
// 
//     public Builder media(List<RiffsyMedia> riffsyMedia) {
//       this.mRiffsyMedia = riffsyMedia;
//       return this;
//     }
// 
//     public Builder title(String title) {
//       this.mTitle = title;
//       return this;
//     }
// 
//     public RiffsyResult build() {
//       return new RiffsyResult(this);
//     }
//   }
// }
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final float DELTA = 0.00001f;
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final Float FLOAT_RANDOM = new Random().nextFloat();


import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyResponse;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyResult;
import static junit.framework.Assert.assertEquals;
import static shared.TestHelper.DELTA;
import static shared.TestHelper.FLOAT_RANDOM;
package br.com.catbag.gifreduxsample.reducers.asyncs.net.rest.riffsy.model;





/**
 Copyright 26/10/2016
 Felipe Piñeiro (fpbitencourt@gmail.com),
 Nilton Vasques (nilton.vasques@gmail.com) and
 Raul Abreu (raulccabreu@gmail.com)

 Be free to ask for help, email us!

 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.
 **/

public class RiffsyResponseTest {
    private List<RiffsyResult> mResults = new ArrayList<>();
    private RiffsyResponse mSut = new RiffsyResponse.Builder()
            .results(mResults)
            .next(FLOAT_RANDOM)
            .build();

    @Test
    public void testGetRiffsyResults() {
        assertEquals(mSut.results(), mResults);
    }

    @Test public void testSetRiffsyResults() {
// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyResponse.java
// public final class RiffsyResponse {
//   @SerializedName("results")
//   private final List<RiffsyResult> mResults;
// 
//   @SerializedName("next")
//   private final Float mNext;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyResponse() {
//     this(new Builder());
//   }
// 
//   public RiffsyResponse(Builder builder) {
//     this.mResults = builder.mResults;
//     this.mNext = builder.mNext;
//   }
// 
//   public List<RiffsyResult> results() {
//     return mResults;
//   }
// 
//   public Float next() {
//     return mNext;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private List<RiffsyResult> mResults;
//     private Float mNext;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyResponse response) {
//       this.mResults = response.mResults;
//     }
// 
//     public Builder results(List<RiffsyResult> results) {
//       this.mResults = results;
//       return this;
//     }
// 
//     public Builder next(Float next) {
//       this.mNext = next;
//       return this;
//     }
// 
//     public RiffsyResponse build() {
//       return new RiffsyResponse(this);
//     }
//   }
// }
// 
// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyResult.java
// public final class RiffsyResult {
//   @SerializedName("media")
//   private final List<RiffsyMedia> mRiffsyMedia;
// 
//   @SerializedName("title")
//   private final String mTitle;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyResult() {
//     this(new Builder());
//   }
// 
//   public RiffsyResult(Builder builder) {
//     this.mRiffsyMedia = builder.mRiffsyMedia;
//     this.mTitle = builder.mTitle;
//   }
// 
//   public List<RiffsyMedia> media() {
//     return mRiffsyMedia;
//   }
// 
//   public String title() {
//     return mTitle;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private List<RiffsyMedia> mRiffsyMedia;
//     private String mTitle;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyResult result) {
//       this.mRiffsyMedia = result.mRiffsyMedia;
//       this.mTitle = result.mTitle;
//     }
// 
//     public Builder media(List<RiffsyMedia> riffsyMedia) {
//       this.mRiffsyMedia = riffsyMedia;
//       return this;
//     }
// 
//     public Builder title(String title) {
//       this.mTitle = title;
//       return this;
//     }
// 
//     public RiffsyResult build() {
//       return new RiffsyResult(this);
//     }
//   }
// }
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final float DELTA = 0.00001f;
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final Float FLOAT_RANDOM = new Random().nextFloat();


// Path: app/src/test/java/br/com/catbag/gifreduxsample/reducers/asyncs/net/rest/riffsy/model/RiffsyResponseTest.java
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyResponse;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyResult;
import static junit.framework.Assert.assertEquals;
import static shared.TestHelper.DELTA;
import static shared.TestHelper.FLOAT_RANDOM;

package br.com.catbag.gifreduxsample.reducers.asyncs.net.rest.riffsy.model;





/**
 Copyright 26/10/2016
 Felipe Piñeiro (fpbitencourt@gmail.com),
 Nilton Vasques (nilton.vasques@gmail.com) and
 Raul Abreu (raulccabreu@gmail.com)

 Be free to ask for help, email us!

 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.
 **/

public class RiffsyResponseTest {
    private List<RiffsyResult> mResults = new ArrayList<>();
    private RiffsyResponse mSut = new RiffsyResponse.Builder()
            .results(mResults)
            .next(FLOAT_RANDOM)
            .build();

    @Test
    public void testGetRiffsyResults() {
        assertEquals(mSut.results(), mResults);
    }

    @Test public void testSetRiffsyResults() {
        final List<RiffsyResult> expected = new ArrayList<>();