DebuggerVariable { public void setType(@NotNull String type) { variable.setType(type); } DebuggerVariable(@NotNull Variable variable); @NotNull Variable getVariable(); @NotNull String getName(); void setName(@NotNull String name); @NotNull String getValue(); void setValue(@NotNull String value); @NotNull String getType(); void setType(@NotNull String type); @NotNull VariablePath getVariablePath(); boolean isPrimitive(); @NotNull List<DebuggerVariable> getVariables(); void setVariables(@NotNull List<DebuggerVariable> debuggerVariables); @Override int hashCode(); @Override boolean equals(Object object);  }
@Test public void typeShouldBeSet() { debuggerVariable.setType(SOME_TEXT); verify(variable).setType(SOME_TEXT); }