Пример #1
0
  @Test
  public void setTestPlaceholderDrawableSetOnNullModel() {
    Drawable placeholder = new ColorDrawable(Color.RED);

    MockTarget target = new MockTarget();

    harness.placeholderDrawable = placeholder;
    harness.target = target;
    harness.model = null;
    GenericRequest request = harness.getRequest();

    request.begin();

    assertEquals(placeholder, target.currentPlaceholder);
  }