Buffalo in court for theft case hearing