Here you go:

myarray[0]="this is a test"
myarray[1]="this is another test"
for i in "${myarray[@]}"; do
    echo "Value: $i"
done

Don’t forget the quotes around the ${myarray[@]}, or the spaces will separate each word on its own item.