@Test
void getLogsFrom()
{

    LogQueue queue = new LogQueue();
    assertTrue(queue.getLogsFrom(LogLevel.TRACE).isEmpty());
    assertTrue(queue.getLogsFrom(LogLevel.DEBUG).isEmpty());
    assertTrue(queue.getLogsFrom(LogLevel.INFO).isEmpty());
    assertTrue(queue.getLogsFrom(LogLevel.WARN).isEmpty());
    assertTrue(queue.getLogsFrom(LogLevel.ERROR).isEmpty());
    queue.warn("");
    assertFalse(queue.getLogsFrom(LogLevel.TRACE).isEmpty());
    assertTrue(queue.hasLogLevel(LogLevel.TRACE));
    assertFalse(queue.getLogsFrom(LogLevel.DEBUG).isEmpty());
    assertTrue(queue.hasLogLevel(LogLevel.DEBUG));
    assertFalse(queue.getLogsFrom(LogLevel.INFO).isEmpty());
    assertTrue(queue.hasLogLevel(LogLevel.INFO));
    assertFalse(queue.getLogsFrom(LogLevel.WARN).isEmpty());
    assertTrue(queue.hasLogLevel(LogLevel.WARN));
    assertTrue(queue.getLogsFrom(LogLevel.ERROR).isEmpty());
    assertFalse(queue.hasLogLevel(LogLevel.ERROR));
}