Guice custom behavior for testing
The Closer class and its setCloser method does not close anything so I'd rather call it CloseOperationProvider. I guess you could get rid of it and annotate the setCloser() parameter instead:

@Inject(optional = true)
private void setCloseOperation(@Named("closeOperation") int closeOperation) {
    frame.setDefaultCloseOperation(closeOperation);
}