Hi folks
i recently found a generated test with some problems:
1.) no idea, were the 4 IllegalArgumentExceptions came from - does not matter now.
2.) IntelliJ complains about the assertSame( Set<String>, Set<Character> )
This should not be generated.
The DriverFormBean is a descendent of JPanel.
/**
* Method under test: {@link DriverFormBean#DriverFormBean(IDpflDlgCtrl)}
*/
@Test
void testNewDriverFormBean() {
// Arrange
new IllegalArgumentException("foo");
new IllegalArgumentException("foo");
new IllegalArgumentException("foo");
new IllegalArgumentException("foo");
DriverDlgCtrl ctrl = DriverDlgCtrl.getInstance(null);
// Act
DriverFormBean actualDriverFormBean = new DriverFormBean(ctrl);
// Assert
Locale locale = actualDriverFormBean.getLocale();
Set<String> expectedExtensionKeys = locale.getUnicodeLocaleAttributes();
assertSame(expectedExtensionKeys, locale.getExtensionKeys());
}