// Path: espresso-core-utils/src/main/java/com/vanniktech/espresso/core/utils/TextViewDrawableMatcher.java
// enum Type {
//   DRAWABLE_LEFT(INDEX_LEFT, false, "left"),
//   DRAWABLE_RELATIVE_LEFT(INDEX_LEFT, true, "relative left"),
//   DRAWABLE_TOP(INDEX_TOP, false, "top"),
//   DRAWABLE_RELATIVE_TOP(INDEX_TOP, true, "relative top"),
//   DRAWABLE_RIGHT(INDEX_RIGHT, false, "right"),
//   DRAWABLE_RELATIVE_RIGHT(INDEX_RIGHT, true, "relative right"),
//   DRAWABLE_BOTTOM(INDEX_BOTTOM, false, "bottom"),
//   DRAWABLE_RELATIVE_BOTTOM(INDEX_BOTTOM, true, "relative bottom");
// 
//   private final int index;
//   private final boolean isRelative;
//   final String string;
// 
//   Type(final int index, final boolean isRelative, final String string) {
//     this.index = index;
//     this.isRelative = isRelative;
//     this.string = string;
//   }
// 
//   @SuppressLint("NewApi") public Drawable getDrawable(final TextView textView) {
//     final Drawable[] drawables = isRelative ? textView.getCompoundDrawablesRelative() : textView.getCompoundDrawables();
//     return drawables[index];
//   }
// }


import com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type;
import org.junit.Test;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_BOTTOM;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_LEFT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_BOTTOM;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_LEFT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_RIGHT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_TOP;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RIGHT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_TOP;
import static org.assertj.core.api.Java6Assertions.assertThat;
package com.vanniktech.espresso.core.utils;



public final class TextViewDrawableMatcherTypeTest {
  @Test public void entries() {
// Path: espresso-core-utils/src/main/java/com/vanniktech/espresso/core/utils/TextViewDrawableMatcher.java
// enum Type {
//   DRAWABLE_LEFT(INDEX_LEFT, false, "left"),
//   DRAWABLE_RELATIVE_LEFT(INDEX_LEFT, true, "relative left"),
//   DRAWABLE_TOP(INDEX_TOP, false, "top"),
//   DRAWABLE_RELATIVE_TOP(INDEX_TOP, true, "relative top"),
//   DRAWABLE_RIGHT(INDEX_RIGHT, false, "right"),
//   DRAWABLE_RELATIVE_RIGHT(INDEX_RIGHT, true, "relative right"),
//   DRAWABLE_BOTTOM(INDEX_BOTTOM, false, "bottom"),
//   DRAWABLE_RELATIVE_BOTTOM(INDEX_BOTTOM, true, "relative bottom");
// 
//   private final int index;
//   private final boolean isRelative;
//   final String string;
// 
//   Type(final int index, final boolean isRelative, final String string) {
//     this.index = index;
//     this.isRelative = isRelative;
//     this.string = string;
//   }
// 
//   @SuppressLint("NewApi") public Drawable getDrawable(final TextView textView) {
//     final Drawable[] drawables = isRelative ? textView.getCompoundDrawablesRelative() : textView.getCompoundDrawables();
//     return drawables[index];
//   }
// }


// Path: espresso-core-utils/src/test/java/com/vanniktech/espresso/core/utils/TextViewDrawableMatcherTypeTest.java
import com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type;
import org.junit.Test;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_BOTTOM;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_LEFT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_BOTTOM;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_LEFT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_RIGHT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RELATIVE_TOP;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_RIGHT;
import static com.vanniktech.espresso.core.utils.TextViewDrawableMatcher.Type.DRAWABLE_TOP;
import static org.assertj.core.api.Java6Assertions.assertThat;

package com.vanniktech.espresso.core.utils;



public final class TextViewDrawableMatcherTypeTest {
  @Test public void entries() {
    assertThat(Type.values()).containsExactly(