2022-01-05 18:35:23 +01:00
|
|
|
package de.swingbe.ifleet;
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Test telegram parsing.
|
|
|
|
* <p>
|
|
|
|
* Note that this class is package-private, so that the client can not use it.
|
|
|
|
*/
|
|
|
|
class TelegramParserImplTest {
|
|
|
|
|
|
|
|
private final TelegramParserImpl parser = new TelegramParserImpl();
|
|
|
|
|
|
|
|
@Test
|
|
|
|
void padLeft() {
|
|
|
|
assertThat(parser.parse("TODO"))
|
2022-01-07 18:22:07 +01:00
|
|
|
.isEqualTo(null);
|
2022-01-05 18:35:23 +01:00
|
|
|
}
|
|
|
|
|
2022-01-07 18:22:07 +01:00
|
|
|
}
|