When at rest the ant-mimicking crab spider Amyciaea does not closely resemble Oecophylla , but while hunting it imitates the behavior of a dying ant to attract worker ants . When at rest , the ant-mimicking crab spider Amyciaea does not closely resemble Oecophylla , but while hunting it imitates the behavior of a dying ant to attract worker ants .