import static com.google.common.base.Optional.fromNullable;
import static com.google.common.base.Optional.of;
import static java.lang.String.format;
+import static java.util.logging.Level.OFF;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
+import java.util.logging.Logger;
import net.pterodactylus.sone.data.Client;
import net.pterodactylus.sone.data.Image;
*/
public class SoneParserTest {
+ static {
+ Logger.getLogger("").setLevel(OFF);
+ }
+
private final Core core = mock(Core.class);
private final Database database = new MemoryDatabase(null);
private final Sone originalSone = database.newSoneBuilder().by("test").using(new Client("TestClient", "1.0")).build(Optional.<SoneCreated>absent());