tester.assertComponent(nameFieldPath, InputField.class);
Component nameField = tester.getComponentFromLastRenderedPage(nameFieldPath);
String serialNumPath = firstRowPath + ":c:1:c";
String serialNumFieldPath = serialNumPath + ":c";
tester.assertLabel(serialNumPath + ":l", "Serial Number");
tester.assertComponent(serialNumFieldPath, InputField.class);
Component serialNumField = tester.getComponentFromLastRenderedPage(serialNumFieldPath);
// Check attaching/detaching component's model (BeanPropertyModel).
BeanPropertyModel nameFieldModel = (BeanPropertyModel) nameField.getDefaultModel();