class DiagBuild
{
private DiagnosticsXMLDBExportParser _databaseController = null;
public DiagBuild() {
this(new DiagnosticsXMLDBExportParser());
}
public DiagBuild(DiagnosticsXMLDBExportParser parser) {
_databaseController = parser;
}
> --
> You received this message because you are subscribed to the Google Groups
> "mockito" group.
> To post to this group, send email to moc...@googlegroups.com.
> To unsubscribe from this group, send email to
> mockito+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mockito?hl=en.
>
Why not have a second constructor which uses this technique? It would allow
you to test your code and match Eclipse's requirements simultaneously.
Regards,
Graham
--