Appearing in court for a committal hearing were Caolan Michael Johnston (18), from The Fort in Maghera, and Adrian Kozack (19) from Craigmore Heights, also Maghera.
The teenagers are jointly accused of murdering Piotr Krowka in April 2018.
The body of the 36-year-old Polish national was found by police, who said he had suffered “a violent death”.
The pair stood side-by-side in the dock yesterday, each speaking only to confirm they understood the murder charge.
A prosecuting lawyer said there was a case to answer, which District Judge Oonagh Mullan agreed with.
Neither defendant called witnesses or gave evidence on their own behalf.
Judge Mullan remanded Johnston and Kozack on bail to appear for arraignment at Derry Crown Court next month.