[BLUEJ-122] If objects exist on the bench, doing "fixture to bench" can create invalid code when later doing "bench to fixture"
If objects exists on the bench and "fixture to bench" is invoked on a fixture that has name clashes with the existing objects, a later "bench to fixture" will create invalid Java code for the test class (several fields with the same name).
The problem is that when "fixture to bench" is executed, any name-clashes will result in the object from the fixture getting a new name. This, however, is not changed in the the later creation of the source because the fixture just reuses the previously created source (when the original fixture was created).
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.0.0