org.mockito.internal.junit.StubbingHint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securemock Show documentation
Show all versions of securemock Show documentation
Libraries for Elasticsearch
The newest version!
/*
* Copyright (c) 2016 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.junit;
/**
* Stubbing hint emitted to the user
*/
class StubbingHint {
private final StringBuilder hint;
StubbingHint(String testName) {
hint = new StringBuilder("[MockitoHint] ")
.append(testName).append(" (see javadoc for MockitoHint):");
}
void appendLine(Object ... elements) {
hint.append("\n[MockitoHint] ");
for (Object e : elements) {
hint.append(e);
}
}
public String toString() {
return hint.toString() + "\n";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy