Aiutino..!

codice:
    public void setStanzaCorrente(Stanza stanzaCorrente) {
        this.stanzaCorrente = stanzaCorrente;
    }
codice:
    @Before
    public void setUp() throws Exception {
        this.partitaTest = new Partita(); 
        this.atrio = new Stanza("Atrio");
        this.biblioteca = new Stanza("Biblioteca");
        this.partitaTest.getNuovoLabirinto().setStanzaVincente(atrio); 
        this.partitaTest.getNuovoLabirinto().setStanzaCorrente(biblioteca);
    }
Perchè mi dice:
The method setStanzaCorrente(Stanza) is undefined for the type Object
PartitaTest.java
Stesso discorso per

codice:
    public Stanza getStanzaVincente() {
        return stanzaVincente;
    }


Grazie tante..